On Fri, Mar 03, 2000 at 07:01:29PM -0500, Michael G Schwern wrote:
> The following is a minor correction so it reconizes both "\015" and
> "\012\015" as empty, blank lines.  I don't know if you want to adjust it
> for the OS.

Would it be more portable or easier to simply chomp the string (in
a non-permanent/destructive fashion ;-) and check that against /^\s+$/

>              $file = VMS::Filespec::unixify($file) if $^O eq 'VMS';

Hmmn - I haven't seen that before. Is that needed for the DOS newline
thing or for some other reason?
-- 
Brad Appleton <[EMAIL PROTECTED]> http://www.enteract.com/~bradapp/
  "And miles to go before I sleep." -- Robert Frost

Reply via email to