in reply to opening a file across a network

Hmmmm, module idea ... could one not write a module which overloads open(), and checks the string for ftp://, http://, etc ... and use sub-modules to invoke LWP, Net::FTP, etc ... ? If this was done, and the file name did not being with one of these known strings, the module could use the built-in open. That would make a new 'drop-in' solution. I will write the module, but does anyone think it will be usefull ?
can't sleep clowns will eat me
-- MZSanford

Replies are listed 'Best First'.
Re: Re: opening a file across a network
by count0 (Friar) on Aug 31, 2001 at 20:53 UTC
    Yea, that seems like a good idea.
    The only catch, as I briefly stated above, is that you would (in a lot of cases) also need a modified flock()