This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
411c557
)
In deprecate.pm, remove unused variable $line
author
Nicholas Clark
<nick@ccl4.org>
Fri, 18 Feb 2011 15:57:25 +0000
(15:57 +0000)
committer
Nicholas Clark
<nick@ccl4.org>
Fri, 18 Feb 2011 18:21:12 +0000
(18:21 +0000)
lib/deprecate.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/deprecate.pm
b/lib/deprecate.pm
index
7b92e0b
..
b5f1793
100644
(file)
--- a/
lib/deprecate.pm
+++ b/
lib/deprecate.pm
@@
-1,14
+1,14
@@
package deprecate;
use strict;
use warnings;
-our $VERSION = 0.0
1
;
+our $VERSION = 0.0
2
;
# our %Config can ignore %Config::Config, e.g. for testing
our %Config;
unless (%Config) { require Config; *Config = \%Config::Config; }
sub import {
- my ($package, $file
, $line
) = caller;
+ my ($package, $file) = caller;
my $expect_leaf = "$package.pm";
$expect_leaf =~ s!::!/!g;