Re: RFC 320 (v1) Allow grouping of -X file tests and add Cfiletest builtin

2000-09-30 Thread Bart Lateur
On Tue, 26 Sep 2000 11:13:30 -0700, Nathan Wiger wrote: -{rwx}; # negation of a hashref That's a weird hashref. Odd number of arguments, anyone? If rwx is supposed to be a sub, we could say that this is an exception, just like $hash{bareword} is an exception. So, if you want the sub,

Re: RFC 320 (v1) Allow grouping of -X file tests and add Cfiletest builtin

2000-09-27 Thread Philip Newton
On Tue, 26 Sep 2000, Nathan Wiger wrote: John Porter wrote: Yeah, not to mention the fact that many modules, notably CGI.pm, are arranged to allow to use unquoted strings of the form -name: print textfield( -name = 'description' ); Well, this one's not an issue, because =

Re: RFC 320 (v1) Allow grouping of -X file tests and add Cfiletest builtin

2000-09-26 Thread Jonathan Scott Duff
On Tue, Sep 26, 2000 at 05:53:13AM -, 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 ) { ... }

Re: RFC 320 (v1) Allow grouping of -X file tests and add Cfiletest builtin

2000-09-26 Thread John L. Allen
On 26 Sep 2000, Perl6 RFC Librarian wrote: =head1 TITLE Allow grouping of -X file tests and add Cfiletest builtin Nice summary. Thanks. =head1 IMPLEMENTATION This would involve making C-[a-zA-Z]+ a special token in all contexts, serving as a shortcut for the Cfiletest builtin.

Re: RFC 320 (v1) Allow grouping of -X file tests and add Cfiletest builtin

2000-09-26 Thread John Porter
John L. Allen wrote: I can't believe that special-casing the token -[rwxoRWXOezsfdlpSbctugkTBMAC]+ is an acceptble solution. I mean think of all the existing perl keywords that that already matches: -pos, -cos, -lc, -uc, -fork, -use, -pop, -exp, -oct, -log, -ord + others!. A lot of

RFC 320 (v1) Allow grouping of -X file tests and add Cfiletest builtin

2000-09-25 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Allow grouping of -X file tests and add Cfiletest builtin =head1 VERSION Maintainer: Nathan Wiger [EMAIL PROTECTED] Date: 25 Sep 2000 Mailing List: [EMAIL PROTECTED] Number: 320 Status: