[ Message rearranged in chronological order ] [ Signatures and other non relevant stuff removed ]
Nikola Janceski wrote: > > > From: John W. Krahn [mailto:krahnj@;acm.org] > > > > Nikola Janceski wrote: > > > > > > I know there is a chmod function in Perl, but is there a > > > chgrp function or module? > > > > perldoc -f chown > > Facinating, so is that a no? No, there is not a specific chgrp function because chown does that. perldoc -f chown chown LIST Changes the owner (and group) of a list of files. The first two elements of the list must be the numeric uid and gid, in that order. A value of -1 in either position is interpreted by most systems to leave that value unchanged. Returns the number of files successfully changed. So if you want a chgrp function: sub chgrp { chown -1, @_ }; John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]