Problems? Is your data what you think it is? | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I want to eval() a small Perl "scriptlet" and capture stdout
(the script will print a few datapoints)
Being mostly a windows person, I never really got familiar with stdin/out/err... I think eval() returns the value of the last statement...but the "script" print statements should be going to stdout... Can I catch them? Is stdout just a never ending buffer? Can I just read it like a variable at anytime? Thanks for any clarification on how this works In reply to stdout question by smackdab
|
|