in reply to Re^2: print statements in perl pakages seem to be masked from STDOUT
in thread print statements in perl pakages seem to be masked from STDOUT
My question is: should I expect a print statement to provide output on STDOUT as it does when the print statement is in the main body of the .pl?
You should definitely see the print statements on STDOUT from a module, just like the script, unless the module is hijacking STDOUT somehow per Corion's post above.
|
|---|