Re: [htmltmpl] HTML::Template and filesystem ACL's
Brought to you by:
samtregar
From: Sam T. <sa...@tr...> - 2004-07-30 02:12:29
|
On Fri, 30 Jul 2004, S=E9bastien Aperghis-Tramoni wrote: > perlfunc recommends to C<use filetest 'access';> for better results when > running on a filesystem with ACL support. The filetest pragma seems to be > available since Perl 5.6. Is it lexical, or could a user use the pragma in their code and fix HTML::Template's file tests? > But IIRC, the Cookbook recommended to forget all the -X tests (where X = =3D~ > /[rwxo]/i) and simply open() the file then test after the error code. I think I'd take a patch in that direction, provided it produced the same quality of error checking. -sam |