|No such thing as a small change|
WHy error message is printed in STDOUT?by madtoperl (Pilgrim)
|on Apr 12, 2006 at 12:28 UTC||Need Help??|
madtoperl has asked for the
wisdom of the Perl Monks concerning the following question:
I'm having a problem when running a perl script on Win32 (ActivePerl 5.8.7).
My code is as follows:
The output given in response is:
A subdirectory or file C:\backups\02-02-2006\test2\C$\Documents and Settings\Administrator\Desktop already exists.
COMMAND is :: md "C:\backups\02-02-2006\test2\C$\Documents and Settings\Administrator\Desktop" RESULT ::
Can anyone explain to me why the error message is being printed to STDOUT
when the second line is getting executed instead of being stored in $res
and printed by the third line?