Write while (<DATA>) { @ary = split (" ",$_) }; and split will find something in $_ to operate on. Of course, you're still only going to print the result of the last line of data. If that's a blank line...
—John
In reply to Re: Getting data out of __DATA__ and __END__
by John M. Dlugosz
in thread Getting data out of __DATA__ and __END__
by George_Sherston
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |