[Israel.pm] using "system"

Offer Kaye offer.kaye at gmail.com
Sun Oct 31 02:31:04 PST 2004


Hi mongers,
Can someone explain to me the difference between using:
   system LIST
and
   system PROGRAM LIST

An example of each form would be nice...

Also, in "perldoc -f  exec", there are the following usage examples:
   exec {'/bin/csh'} '-sh';
and
   exec { $args[0] } @args;
Can anyone explain these examples, what do they do and how?

Thanks,
-- 
Offer Kaye



More information about the Perl mailing list