in reply to Re: Re(3):: opening new file in different directory
in thread opening new file in different directory

Look at it again:
open(WRITE,">$file") or die( "Cannot write to $file: $!" );
You are missing the point of his request. He wants to see what $file is, in addition to the $! variable. Why? Because the error "No such file or directory" begs the question "What file is the program trying to create, and in what directory?"

buckaduck

Replies are listed 'Best First'.
Re: Re: Re: Re(3):: opening new file in different directory
by IraTarball (Monk) on Oct 24, 2001 at 01:26 UTC
    Goip! Read carefully and ye shall find knowledge.
    Thanks for humoring me. :)

    Ira,

    "So... What do all these little arrows mean?"
    ~unknown