Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Question

by Anonymous Monk
on Jan 26, 2001 at 07:40 UTC ( #54485=perlquestion: print w/replies, xml ) Need Help??
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I wonder, is there a way to issue a unix command using perl let say, I want to type ls -la and grab the output sfd7678@hotmail.com

Replies are listed 'Best First'.
(ichimunki) re: Unix commands from within Perl?
by ichimunki (Priest) on Jan 27, 2001 at 04:03 UTC
    In a word, TIMTOWTDI. There are several different ways to interact with the shell using Perl. In addition, for your specific example, there are several ways to do that without relying on a shell. So, it sounds like maybe Perl is a good fit for your project/needs. Check Outside Links and Library for plenty of resources to get you started with Perl.
    A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://54485]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2018-08-20 06:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Asked to put a square peg in a round hole, I would:









    Results (190 votes). Check out past polls.

    Notices?