in reply to Re: Getting data out of __DATA__ and __END__
in thread Getting data out of __DATA__ and __END__
Try this code:
$_ is assigned when using while as a statement modifier.print while (<DATA>); __DATA__ one two three four five six seven eight
But as you said, if $_ is a blank line...
JJ
|
|---|