There's more than one way to do things | |
PerlMonks |
Re^7: improve scriptby afoken (Chancellor) |
on Nov 29, 2015 at 12:02 UTC ( [id://1148806]=note: print w/replies, xml ) | Need Help?? |
Yes, except it's printing to STDERR not STDOUT. Far more than you ever wanted to know about shell redirections That's complicating things if sh has to capture the output. No, only that way allows to cleanly separate usable data (STDOUT) from error messages (STDERR), without having to use heuristics (in other words: automated guessing). Alexander
-- Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
In Section
Seekers of Perl Wisdom
|
|