Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: How to display the .pl process in command line

by bms (Monk)
on Mar 27, 2012 at 09:59 UTC ( #961887=note: print w/ replies, xml ) Need Help??


in reply to Re^2: How to display the .pl process in command line
in thread How to display the .pl process in command line

IO::File and IO::Tee. Not sure what IP::File is, looks like a typo. You may have to 'use IO::File'. It is a core module.


Comment on Re^3: How to display the .pl process in command line
Re^4: How to display the .pl process in command line
by astronogun (Sexton) on Mar 28, 2012 at 03:25 UTC
    Hmm how about this? I want it to make it simpler... After running the script (the one I posted above) it will display "Ok" or if it's failed it will display an error message.. I'm reading regarding STDIN, STDOUT and STDERR.. but I'm having hard time understanding... Any ideas?
Re^4: How to display the .pl process in command line
by astronogun (Sexton) on Mar 28, 2012 at 03:28 UTC

    Hmm how about this? I want it to make it simpler... After running the script (the one I posted above) it will display "Ok" or if it's failed it will display an error message.. I'm reading regarding STDIN, STDOUT and STDERR.. but I'm having hard time understanding... Any ideas?

      Yup

      # ... Code ... print "Ok\n"; # ... Code ... print "Error: <insert error message>\n";

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (10)
As of 2014-12-19 08:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (75 votes), past polls