in reply to Re^2: Perl::Improved Volume 0, Number 0
in thread Perl::Improved Volume 0, Number 0
File::exists( 'filename' );
This seems like a natural addition to English, but I think it would need something more like a source filter and less like the typeglob diddling of English, so it's not an easy addition.
Update: demerphq has the right of it... just a sub File::exists($) { -f $_[0] } would do it.
--Solo
--
You said you wanted to be around when I made a mistake; well, this could be it, sweetheart.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Perl::Improved Volume 0, Number 0
by demerphq (Chancellor) on Aug 27, 2004 at 13:18 UTC | |
Re^4: Perl::Improved Volume 0, Number 0
by Anonymous Monk on Aug 30, 2004 at 09:47 UTC |