my $data = ''; # set to the empty string
do{ $data = $data . $_ } while (<DATA>);
Always initialize your variables. In reply to Re: How to use __DATA__ efficiently, help!
by shawnhcorey
in thread How to use __DATA__ efficiently, help!
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |