ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/App-Staticperl/mkbundle
(Generate patch)

Comparing App-Staticperl/mkbundle (file contents):
Revision 1.23 by root, Thu Feb 10 12:02:09 2011 UTC vs.
Revision 1.24 by root, Thu Feb 10 22:44:29 2011 UTC

274sub cmd_add { 274sub cmd_add {
275 $_[0] =~ /^(.*?)(?:\s+(\S+))?$/ 275 $_[0] =~ /^(.*?)(?:\s+(\S+))?$/
276 or die "$_[0]: cannot parse"; 276 or die "$_[0]: cannot parse";
277 277
278 my $file = $1; 278 my $file = $1;
279 my $as = defined $2 ? $2 : "&$1"; 279 my $as = defined $2 ? $2 : $1;
280 280
281 $pm{$as} = $file; 281 $pm{$as} = $file;
282 $pmbin{$as} = 1 if $_[1]; 282 $pmbin{$as} = 1 if $_[1];
283} 283}
284 284

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines