[Module-build-checkins] Module-Build/lib/Module/Build Base.pm,1.352,1.353
Status: Beta
Brought to you by:
kwilliams
From: Ken W. <kwi...@us...> - 2004-11-20 04:27:44
|
Update of /cvsroot/module-build/Module-Build/lib/Module/Build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2621/lib/Module/Build Modified Files: Base.pm Log Message: Allow zero-length hash-parameter values Index: Base.pm =================================================================== RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build/Base.pm,v retrieving revision 1.352 retrieving revision 1.353 diff -C2 -d -r1.352 -r1.353 *** Base.pm 20 Nov 2004 04:23:17 -0000 1.352 --- Base.pm 20 Nov 2004 04:27:34 -0000 1.353 *************** *** 1144,1148 **** $args{$_} = [ $args{$_} ] unless ref $args{$_}; foreach my $arg ( @{$args{$_}} ) { ! $arg =~ /(\w+)=(.+)/ or die "Malformed '$_' argument: '$arg' should be something like 'foo=bar'"; $hash{$1} = $2; --- 1144,1148 ---- $args{$_} = [ $args{$_} ] unless ref $args{$_}; foreach my $arg ( @{$args{$_}} ) { ! $arg =~ /(\w+)=(.*)/ or die "Malformed '$_' argument: '$arg' should be something like 'foo=bar'"; $hash{$1} = $2; |