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


in reply to Re^2: HELP chgrp
in thread HELP chgrp

No burden. monkey_boy had the right answer, you need to use system().

These programs are intended to be run from a command line via the MSDOS batch files that are in the \usr\local\ppt\bin directory. While these batch files DO call Perl scripts, I'd think twice about calling those scripts directly without looking at how the batch file calls the script.

To me the safest way to call it is calling the batch file using the system() function.