Nifty stuff!
Are you up for a challenge? Try replacing your first while loop with
What's going on there? Have a look at split and grep and see if you can work it out. Get back to us if you need a pointer.push @list, grep{/\S/} split '' while <>;
Happy Perling!
In reply to Re: Array Fun
by wfsp
in thread Array Fun
by phantom20x
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |