Not running with warnings or strict are ya!
You are assigning your $1 into the HASH slotarray, but then trying to print out the contents of the ARRAY slotarray.
# change this line, which assigns into a hash... my $slotarray{$counter} = "$1"; # to something like this, which assigns into an array. push( @slotarray, $1 );
In reply to Re: $1 into an array
by Wonko the sane
in thread $1 into an array
by jamen_98
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |