Nathan Wiger wrote:
> In fact, I'd much rather still a more generic function like 'want' that
> takes a list of things to check:
>
> file($file, 'd'); # is it a directory?
> file($file, 'wd'); # is it a writable directory?
if ( all { $_->($file) } \&writable, \&directory ) { ...
:-)
--
John Porter
- Perl6Storm: Intent to RFC #0101 Adam Turoff
- Re: Perl6Storm: Intent to RFC #0101 Ariel Scolnicov
- Re: Perl6Storm: Intent to RFC #0101 Nathan Wiger
- Re: Perl6Storm: Intent to RFC #0101 John Porter
- Re: Perl6Storm: Intent to RFC #0101 Damian Conway
- Re: Perl6Storm: Intent to RFC #0101 Tom Christiansen
- Re: Perl6Storm: Intent to RFC #0101 Tom Christiansen
- Re: Perl6Storm: Intent to RFC #0101 Nathan Wiger
- Re: Perl6Storm: Intent to RFC #0101 Robert Mathews
- Re: Perl6Storm: Intent to RFC #0101 Russ Allbery
- Re: Perl6Storm: Intent to RFC #0101 Robert Mathews
- Re: Perl6Storm: Intent to RFC #... Russ Allbery
- Expunge "use English&q... Nathan Wiger
- Re: Expunge "use Engli... Adam Turoff
