On 24 Dec 2008, at 02:24, John W. Krahn wrote:

Chas. Owens wrote:
On Tue, Dec 23, 2008 at 13:12, Steve Pittman <spitt...@jhmi.edu> wrote:
Does any one have a good example?
snip
That depends on what you want to do.  There are five common ways of
executing external programs (including shell scripts):
1. the system function*
2. the qx// operator**
3. the open function***
4. the open2 function from IPC::Open2****
5. the open3 function from IPC::Open3*****


Five ways?
You forgot the backtick:

my $result = `Some shell command`;

Don't forget:

perldoc -f exec
perldoc Shell
http://search.cpan.org/~adamk/IPC-Run-0.82/



John
--
Those people who think they know everything are a great
annoyance to those of us who do.        -- Isaac Asimov

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Filip van der Meeren
fi...@code2develop.com


--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to