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.
In reply to Re^3: Perl::Improved Volume 0, Number 0
by Solo
in thread Perl::Improved Volume 0, Number 0
by Wassercrats
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |