How about the following:
use Modern::Perl; print for grep /\S/, <DATA>; __DATA__ This is not a blank line. This is not a blank line. This is not a blank line. This is not a blank line.
Output:
This is not a blank line. This is not a blank line. This is not a blank line. This is not a blank line.
In reply to Re: While loop conditions in Perl
by Kenosis
in thread While loop conditions in Perl
by joemaniaci
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |