On Wed, Aug 09, 2000 at 11:41:42AM -0500, Jonathan Scott Duff wrote: > How about this? > > open '/etc/passwd'; # file OK > open '/usr/local/bin/'; # directory (note the trailing '/') Portability, not all platforms use / > open 'ftp://ftp.perl.org/'; # ftp What user/password does it use > open 'http://www.yahoo.com/'; # http will it support cookies, authentication ? > open 'ldap://ldap.bigfoot.com/';# ldap maybe. My point is that many of these protocols are more complex than I would certain want open to handle. Leave the complex stuuf to those modules and use the API they provide. Graham.
- Re: RFC 14 (v2) Modify open() to support FileObjects a... Chaim Frenkel
- Re: RFC 14 (v2) Modify open() to support FileObje... Nathan Wiger
- Re: RFC 14 (v2) Modify open() to support FileObje... Nick Ing-Simmons
- Re: RFC 14 (v2) Modify open() to support File... Nathan Wiger
- Re: RFC 14 (v2) Modify open() to support FileObje... Jon Ericson
- Re: RFC 14 (v2) Modify open() to support File... Nathan Wiger
- Re: RFC 14 (v2) Modify open() to support ... Jonathan Scott Duff
- Re: RFC 14 (v2) Modify open() to supp... Graham Barr
- Re: RFC 14 (v2) Modify open() to... Nick Ing-Simmons
- Re: RFC 14 (v2) Modify open(... Jonathan Scott Duff
- Re: RFC 14 (v2) Modify o... Chaim Frenkel
- Re: RFC 14 (v2) Modify o... Nick Ing-Simmons
- Re: RFC 14 (v2) Modify open(... Piers Cawley
- Re: RFC 14 (v2) Modify o... Bart Lateur
- Re: RFC 14 (v2) Modify open() to... Tom Hughes
- Re: RFC 14 (v2) Modify open(... Tom Hughes
- Re: RFC 14 (v2) Modify o... Chaim Frenkel
- Re: RFC 14 (v2) Modify o... Piers Cawley