go ahead... be a heretic | |
PerlMonks |
Re^3: Extract length sum from columns and print pattern into another fileby pryrt (Abbot) |
on Jun 07, 2019 at 15:36 UTC ( [id://11101100]=note: print w/replies, xml ) | Need Help?? |
poj has shown you how to open a normal file. The previous code that used DATA is using the special filehandle DATA, which reads from beyond the __DATA__ marker, as if it were a separate, already-opened file. For more on the __DATA__ special literal, and the automatic DATA filehandle, see https://perldoc.perl.org/perldata.html#Special-Literals edit: clarify
In Section
Seekers of Perl Wisdom
|
|