http://www.perlmonks.org?node_id=501672


in reply to HELP chgrp

I could make a system call to the UNIX script but I foolishly thought I'd use the Perl version!

Foolishly? That's a little harsh, isn't it? ;)

A little more verbosity in your question would be helpful, but googling showed me what you were looking at... Take a look here: http://ppt.perl.org and here: http://ppt.perl.org and you will see that this is a standalone script, and not a module/package. use/require won't get you what you want. You could copy the code available in the first link I posted in your own script and modify it to suit your needs, or even turn it into a package for code reuse.

HTH

--
A conclusion is simply the place where someone got tired of thinking. -- Arthur Block