Why don't the match operators and regexps in the following produce the
same results?

        if ($editbl =~ /^\S+$/) { print AFILE "$editbl\n"; }
        if ($editbl !~ /^\s*$/) { print EFILE "$editbl\n"; }

TIA

-- 

James Eric Lawson
Research Publications Editor
National Simulation Resource

[EMAIL PROTECTED]

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

Whereof one cannot speak, thereof one must be silent. -- Wittgenstein


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to