![]() |
|
Problems? Is your data what you think it is? | |
PerlMonks |
stdout questionby smackdab (Pilgrim) |
on Nov 26, 2001 at 00:20 UTC ( #127414=perlquestion: print w/replies, xml ) | Need Help?? |
smackdab has asked for the wisdom of the Perl Monks concerning the following question:
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
Back to
Seekers of Perl Wisdom
|
|