Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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.
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://54485]
help
Chatterbox?
Corion waves to virtualsue
[virtualsue]: I have made a post for the first time in ... years
[marto]: hey virtualsue!
Eily thought about Neko Case first, something might be wrong with my brain's wiring
[virtualsue]: I recommended dbic-migration even though I am having trouble with it this week. It might be my fault.
[ambrus]: wow! I haven't seen you here for a long time, virtualsue
virtualsue waves back
[Eily]: it would have been 2 years in 2 weeks actually. And welcome back virtualsue :)
[Corion]: I think I saw virtualsue more recently in person than online :-D
[virtualsue]: It's true that there was a bigger gap between the 2 yr old post and the one before it

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (15)
As of 2017-09-26 13:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (295 votes). Check out past polls.

    Notices?