Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: WHY error message is printed in STDOUT?

by Herkum (Parson)
on Apr 12, 2006 at 13:55 UTC ( #542837=note: print w/replies, xml ) Need Help??


in reply to WHy error message is printed in STDOUT?

The subdirectory message is being sent to STDERR by the 'md' command not Perl.

I found this in the Perl documentation with regards to what $res is being assigned,

The collected standard output of the command is returned; standard error is unaffected. In scalar context, it comes back as a single (potentially multi-line) string, or undef if the command failed.

  • Comment on Re: WHY error message is printed in STDOUT?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2016-09-30 18:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (571 votes). Check out past polls.