XP is just a number | |
PerlMonks |
Re^2: Record Separator affecting Regexby tadman (Prior) |
on Nov 07, 2002 at 19:56 UTC ( [id://211207]=note: print w/replies, xml ) | Need Help?? |
As a note, there's a way to check for "lines which are composed only of spaces" that I find much more succinct:
print "Query: $line" if ($line =~ /\S/);Or more generically: "Not composed entirely of spaces" is equivalent to "contains a non-space character", at least in this context.
In Section
Seekers of Perl Wisdom
|
|