Archive of UserLand's first discussion group, started October 5, 1998.

Easier Web Document Creation: open()

Author:fisherm@tce.com
Posted:6/9/1999; 8:02:18 AM
Topic:Easier Web Document Creation: open()
Msg #:7145
Prev/Next:7144 / 7146

A thread is going on perl5-porters about this topic. The basic proposal is to allow (example in Perl): open(IFH, "http://davenet.userland.com"); as well as the conventional: open(IFH, "h:/metapage/userland/davenet/index.html");

Using the under-used HTTP PUT directive, this idea could be extended to the writing of URLs. (Now that WebDAV is here, this becomes much more practical.) Specifically, to write a Web page one would do (in Perl): open(OFH, ">http://davenet.userland.com"); (the Perl syntax for creating/overwriting a file). File -> New and File -> Open could then be extended to just accept a URL as the location. If someone really has a local file called: http://davenet.userland.com (which they could on Unix/Linux), then they can just access it from File -> Open using: ./http://davenet.userland.com as the file name. There's really no reason (IMHO) to separate the processing of local files and URLs, as URLs are so easily distinguished from local files under most OSes (at least under Win3x/9x/NT, Unix/Linux, VAX/VMS, and (I think) MVS).




This page was archived on 6/13/2001; 4:50:40 PM.

© Copyright 1998-2001 UserLand Software, Inc.