On Tue, Sep 26, 2000 at 05:53:13AM -0000, Nate Wiger wrote:
> Currently, file tests cannot be grouped, resulting in very long
> expressions when one wants to check to make sure some thing is a
> readable, writeable, executable directory:
> 
>    if ( -d $file && -r $file && -w $file && -x $file ) { ... }

Non-novice perl programmers would probably write this as you have
below with the special _ filehandle.  Perhaps you should move that to
the fore and comment on it's unreadability and general ickiness :-)

> It would be really nice if these could be grouped instead:
> 
>    if ( -drwx $file ) { ... }

Indeed it would.

-Scott
-- 
Jonathan Scott Duff
[EMAIL PROTECTED]

Reply via email to