|
|
| go ahead... be a heretic | |
| PerlMonks |
Re^3: New student, can we write this program in perl...by MidLifeXis (Prior) |
| on Oct 19, 2012 at 16:58 UTC ( #999983=note: print w/ replies, xml ) | Need Help?? |
|
my @data = <> would be one way. Could always read one line at a time with while (<>) {...}. This is stuff that you or your instructor should have already covered in your course, isn't it? Update: if not, take a look at perlintro, perlfaq, perlsyn, perldata, and so on. --MidLifeXis
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||