in reply to open splutters and fails

I'm on linux and opening a file with a space at the end (of the filename, I'm assuming) works fine.
perl -e 'open F,"<","Journal-B " or die $!'
succeeds.

Are you sure "Journal-B " is a file? For instance, it shouldn't be a dangling soft-link.

Replies are listed 'Best First'.
Re^2: open splutters and fails
by FunkyMonk (Bishop) on Jun 02, 2007 at 22:53 UTC
    The OP was using open with 2 arguments. Score another plus for the 3-argument variant.