Problems? Is your data what you think it is? | |
PerlMonks |
Re: Re: Re: Running System Commans With ""by jkahn (Friar) |
on Sep 11, 2002 at 20:26 UTC ( [id://197067]=note: print w/replies, xml ) | Need Help?? |
Yes, it's faster because there's no need for an intermediate sh process to get loaded, parse the arguments, redirect input and output where they should be sent to, and pass the arguments to the program invoked.
If you do want shell-style redirection, though, you'll have to use a system EXPR syntax. It's not all bad; a number of Perl Cookbook recipes use it for good reason (mostly for shell redirection).
In Section
Seekers of Perl Wisdom
|
|