in reply to open splutters and fails

If you want to open A filename containing a space, try using the 3 argument open. That works fine on my Debian box.

Earlier today, some other Monk posted something like:

open FH, "< myfile" or die $!;

Would you really like that to fail because there is no file called " myfile".

You're much better off using open with 3 arguments, anyway.

Replies are listed 'Best First'.
Re^2: open splutters and fails
by unclesmiffy (Initiate) on Jun 02, 2007 at 23:05 UTC
    how wise, yes the 3 arg version works.