Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
Your skill will accomplish
what the force of many cannot
 
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

Comment on Question
Re: Question
by mr_leisure (Beadle) on Jan 26, 2001 at 13:58 UTC
    Why anyone would want to answer this for you is beyond me.

    First off, you didn't even ask politely. Second off, Perlmonks.org is a community in which you GIVE and TAKE (i'd like to think you give before you take too), you can't just cruise by, drop your email address and say "do this and send the answer here".

    Manners are priceless, young glasshopper.

    Read Learning Perl, 2nd Edition, or one of the thousands of web tutorials out there. But at least do some reading before you post here.

    Good luck!

    Regards,
    Mr Leisure, Also Known As Captain Contraption
    if ($mr_leisure) { bow; }
    this is still not finished
(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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://54485]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (12)
As of 2014-04-24 12:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (565 votes), past polls