On 3/26/06, Mark Overmeer <[EMAIL PROTECTED]> wrote:
> > LIST = chmod MODE, LIST
>
> My feeling is that this function design is a bit of a mistake.  Usually,
> one perl function maps on one operating-system function, but in this case
> it doesn't: it simulated the common chmod(1) user command.

[...]

> Of course, besides that you may implement a version which accepts a list,
> but that is certainly not needed except for perl5 compatibility...

If we look at Perl just as a high-level language than you might be right,
and I really liked the object being returned idea, but I think Perl should
also keep serving the system administrators with much simpler needs.

Perl was quite a good replacement to shell scripting but there are several
places where writing shell commands is sill much simpler. It would be nice
if the this end of the programming spectrum - writing one liners and
small scripts - would be also further strengthened.

Gabor

Reply via email to