[Israel.pm] using "system"

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


On Sun, 31 Oct 2004 11:28:30 +0000, Mikhael Goikhman <migo at homemail.com> wrote:
> 
> Here is an example of both:
> 
>   system("ls", "-al");
> 
>   system {"ls"} "dir", "-al";

I think I get it - the "system PROGRAM LIST" format of the command is
just a way of "fooling" the program into thinking it is running as
"dir" while it is really running "ls"?

What is that good for?

-- 
Offer Kaye



More information about the Perl mailing list