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.next unless ($line =~ /\S/); print "Query: $line";
In reply to Re^2: Record Separator affecting Regex
by tadman
in thread Record Separator affecting Regex
by Kozz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |