in reply to Re: open() enhancements
in thread open() enhancements
I've also read in Perl books how great it is, so that a script that takes a "file name" argument can actually do all that stuff.
I do like the 4th argument as a hash. There can be universal "well known" names, and OS or FS specific flags that are only respected if applicable, such as { WIN32::tempfile => 1 } which would use the native temp file flag which may be somewhat different in meaning from a Linux temp file flag, etc. That is, by using a namespace-like syntax, flags can keep out of each other's way and not pollute the option space.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re3: open() enhancements
by blakem (Monsignor) on Aug 23, 2002 at 02:27 UTC | |
by John M. Dlugosz (Monsignor) on Aug 23, 2002 at 02:32 UTC |