Well, at least it's encouraging to see that there are Perl courses being taught out there, and that this one encourages the use of my. On the other hand, the question doesn't include my preferred answer: read the lines into $_, so you don't have to specify any arguments to split to get the desired behavior.
Aaron B.
Available for small or large Perl jobs; see my home node.
In reply to Re^2: Question 1
by aaron_baugher
in thread Question 1
by partha7
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |