in reply to Bad file descriptor error

my $filename="http://www.acmestudios.com/clients/SM724/beta/com/com.co +nfig.style1.smf"; open (DATA, ">$filename") [.... rest deleted ...]
What do you expect that to do? http is a web protocol, not the prefix of a pathname. Opening a filename that starts "h t t p colon slash slash" is not likely to do anything useful, and in fact would give you the errors you describe.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

Replies are listed 'Best First'.
Re^2: Bad file descriptor error
by bradcathey (Prior) on Jul 13, 2005 at 00:37 UTC

    Yikes! Thanks merlyn. I was trying for the absolute path and now realize I need to use the server's path.

    Sometimes we need a little push over the bump, even if it's a bit embarrassing.


    —Brad
    "The important work of moving the world forward does not wait to be done by perfect men." George Eliot