The stupid question is the question not asked | |
PerlMonks |
Re: split and @by dbuckhal (Chaplain) |
on Jan 07, 2013 at 19:34 UTC ( [id://1012099]=note: print w/replies, xml ) | Need Help?? |
If you were trying to view the split content as a string with this line:
print "$input[$len-1]"; # splits properly into 4 You can just change it to simply: print "@input"; The quotes around the array will give you a quick idea of how your splitting worked out.---output--- ab cd efghi jkl
In Section
Seekers of Perl Wisdom
|
|