mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 16:05:44 -07:00
Fix implicit split to @_. Also add 'use warnings', which would have
spotted it for me. [originally from svn r9605]
This commit is contained in:
@ -11,13 +11,15 @@
|
||||
# where `1234' is the revision number which will be encoded in the
|
||||
# installer's version indicators.
|
||||
|
||||
use warnings;
|
||||
|
||||
$rev = shift @ARGV;
|
||||
($revclean=$rev) =~ s/M$//;
|
||||
$lst = shift @ARGV;
|
||||
open LST, "<", $lst;
|
||||
while (<LST>) {
|
||||
chomp;
|
||||
split /:/;
|
||||
@_ = split /:/;
|
||||
push @exes, $_[0];
|
||||
$names{$_[0]} = $_[1];
|
||||
}
|
||||
|
Reference in New Issue
Block a user