Skip Menu |

This queue is for tickets about the Linux-MemInfo CPAN distribution.

Report information
The Basics
Id: 108672
Status: new
Priority: 0/
Queue: Linux-MemInfo

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.03
Fixed in: (no value)



Subject: AutoLoader not needed
There are no autoloaded functions in Linux::MemInfo, so the "use AutoLoader" line could go. See attached patch.
Subject: 0001-AutoLoader-not-needed.patch
From fa10abe4e9df88cc85924d28550b16337d9fd82a Mon Sep 17 00:00:00 2001 From: Slaven Rezic <slaven.rezic@idealo.de> Date: Tue, 10 Nov 2015 16:20:23 +0100 Subject: [PATCH] AutoLoader not needed --- MemInfo.pm | 6 ------ 1 file changed, 6 deletions(-) diff --git a/MemInfo.pm b/MemInfo.pm index e076519..b62978b 100644 --- a/MemInfo.pm +++ b/MemInfo.pm @@ -5,8 +5,6 @@ use strict; use warnings; require Exporter; -use AutoLoader qw(AUTOLOAD); - our @ISA = qw(Exporter); # Items to export into callers namespace by default. Note: do not export @@ -27,10 +25,6 @@ our @EXPORT = qw( get_mem_info our $VERSION = '0.03'; -# Preloaded methods go here. - -# Autoload methods go after =cut, and are processed by the autosplit program. - sub get_mem_info() { my %mem; open(INFIL,"/proc/meminfo") || die("Unable To Open /proc/meminfo\n"); -- 1.7.9.5