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

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?

  • Comment on Re^4: How to display the .pl process in command line

Replies are listed 'Best First'.
Re^5: How to display the .pl process in command line
by bms (Monk) on Mar 28, 2012 at 04:21 UTC

    Yup

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