Hmm, I don't really know how to do this but Gaal told me to
write up some proposal here.
So we had chmod in Perl5, I would like to make sure it works in
Perl6 as well with slight modifications.
LIST = chmod MODE, LIST
1) In list context it would return the names of the files successfully
ch
On Sat, Mar 25, 2006 at 12:58:30PM +0200, Gabor Szabo wrote:
> 4) "filename".chmod(MODE) should also work and I guess
> .chmod(MODE) should also work on those 3 files
That seems to be implying a chmod method on all strings, and all lists.
Assuming chmod doesn't get special favours, how many m
On 3/25/06, Nicholas Clark <[EMAIL PROTECTED]> wrote:
> On Sat, Mar 25, 2006 at 12:58:30PM +0200, Gabor Szabo wrote:
> > 4) "filename".chmod(MODE) should also work and I guess
> > .chmod(MODE) should also work on those 3 files
>
> That seems to be implying a chmod method on all strings, and al
Gabor Szabo wrote:
Hmm, I don't really know how to do this but Gaal told me to
write up some proposal here.
So we had chmod in Perl5, I would like to make sure it works in
Perl6 as well with slight modifications.
LIST = chmod MODE, LIST
1) In list context it would return the names of the file
Damian Conway wrote:
> One might argue that it would be more useful to return a result object whose
> boolean value is the success or failure, whose numeric and string values are
> the number of files *un*changed, and whose list value is the list of those
> *un*changed files.
>
> Then you could wri