Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: How to chgrp in perl?by Vautrin (Hermit) |
on Apr 05, 2004 at 05:00 UTC ( [id://342574]=note: print w/replies, xml ) | Need Help?? |
If the target is a *nix system, why not just save yourself the trouble and use a chgrp command in backticks, or via a system() call. If you want to get fancy you could check the OS type or for the existence of a chgrp command in your path, and only chgrp if you know you can.
Want to support the EFF and FSF by buying cool stuff? Click here.
In Section
Seekers of Perl Wisdom
|
|