[HRPM] matching blank lines
Troy E. Webster
twebster at pcs.cnu.edu
Mon Nov 6 15:23:23 CST 2000
Ok time for a stupid question,
I need a bullet proof way to match a blank line with whatever whitespace
is on it.
using $line eq "\n" isn't working in all cases.
Isn't there a way to match *only* whitespace using the =~ operator?
Thanks,
Troy
___________________________________________________________________________
``Beware of bugs in the above code; I have only proved it correct, not
tried it.'' -Don Knuth
---------------------------------------------------------------------------
More information about the Norfolk-pm
mailing list