go ahead... be a heretic | |
PerlMonks |
Re^2: perl 5.12 BSD portability (CPAN test result)...printby perl-diddler (Chaplain) |
on Mar 14, 2013 at 05:12 UTC ( [id://1023371]=note: print w/replies, xml ) | Need Help?? |
Um... so everyone who uses 'print' or 'printf' needed to use IO::Handle? I doubt that is what you mean, is it?
In any case, changing the code from '$fh->print' to 'print $fh' seems to have fixed the problem. Of *course* it makes sense -- it's perl! :-) That uncovered one last (??*crossing fingers*??) bug where the 'cat' was involved, which was unrelated to the 'rev', which I just supplied in my test directory (in a perl-1-liner script).simulated in a perl 1-liner: The 'cat' was for my STDERR test, which I cleaned up (and got rid of using 'cat' in testing...didn't want any Humane Society/PITA complaints). It's a split output, where the first part of the line put out by the 'generic example' code is on STDOUT, and the 2nd part is on STDERR... so I just run it twice for that test: Hopefully "/dev/null" or "NUL" will work (it works on my linux and on Windows strawbelly16.2.) Tedia, tedia, tedia....;-)
Thanks again for the assists...this is my testing the waters, as it were...
In Section
Seekers of Perl Wisdom
|
|