in reply to open vs. sysopen

Just curious: what does $ggg contain? Did it contain spaces prior? Does adding print "Exists$/" if -e $ggg; print exists? Your error is right there: No such file or directory. I'm very suspicious of $ggg.

Replies are listed 'Best First'.
Re: Re: open vs. sysopen
by oha (Friar) on Dec 27, 2003 at 12:44 UTC
    yes! i translate the open man page few days ago, perl do magic on filenames, stripping trailing spaces and so on.

    it do different things depending how open is called. maybe $ggg contains something which open can handle with this magic, but sysopen doesn't?