I'm guessing that your input is coming to you with an extra newline (\n) character that you need to get rid of. Try
chomp(@h); @bob = @h; #though not sure why you copy the array ;)
..Guv
In reply to Re: array newbie...(sigh)
by theguvnor
in thread array newbie...(sigh)
by ddrumguy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |