Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: extracting single columnby moritz (Cardinal) |
on Feb 09, 2012 at 12:56 UTC ( [id://952708]=note: print w/replies, xml ) | Need Help?? |
The solution is to learn Perl, and to understand what you are doing. Seriously, you can't just make up some syntax and hope that perl will magically convert it into a running, correct program. Check perlsyn or perlintro for the syntax of the foreach loop. Writing to FINAL (which you've not opened) is going to be disappointing at run time. use warnings; will catch that (see perllexwarn), and please enable use strict; too. See for example RFC: Tutorial: use strict; now what!? for instructions.
In Section
Seekers of Perl Wisdom
|
|