projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
10eba76
)
Minor change to make -w clean
Perl 5 Porters [Mon, 11 Mar 1996 07:17:33 +0000 (07:17 +0000)]
lib/Getopt/Long.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Getopt/Long.pm
b/lib/Getopt/Long.pm
index
25bf704
..
5dd5d16
100644
(file)
--- a/
lib/Getopt/Long.pm
+++ b/
lib/Getopt/Long.pm
@@
-599,7
+599,7
@@
sub GetOptions {
# Make sure a valid perl identifier results.
my $ov = $o;
$ov =~ s/\W/_/g;
- if ( $c =~ /@/ ) {
+ if ( $c && $c =~ /@/ ) {
print STDERR ("=> link \"$o\" to \@$pkg","::opt_$ov\n")
if $debug;
eval ("\$linkage{\$o} = \\\@".$pkg."::opt_$ov;");