more useful options | |
PerlMonks |
Re: How to use __DATA__ efficiently, help!by shawnhcorey (Friar) |
on Feb 09, 2011 at 19:50 UTC ( [id://887264]=note: print w/replies, xml ) | Need Help?? |
my $data = ''; # set to the empty string do{ $data = $data . $_ } while (<DATA>);Always initialize your variables.
In Section
Seekers of Perl Wisdom
|
|