with:my @chwhs = (<STDIN>);
Same thing for the @cogs. You're reading a line from standard input and you need to tell perl that this line contain several space separated values.my $chwhs = <STDIN>; chomp $chwhs; my @chwhs = split /\s+/, $chwhs;
In reply to Re: I'm trying to get a numeric array
by Gangabass
in thread I'm trying to get a numeric array
by fatmac
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |