in reply to Re^3: perl 5.12 BSD portability (CPAN test result)...print
in thread perl 5.12 BSD portability (CPAN test result)...print
I was pokin' at the code and though, well, maybe I should try
It seems with 'say', the above form worked, while the 'preferred' (hmmm) "$fh->say" did not..?print $fh [rest of print line]
BTW, FWIW, I'd really hate to put in a BUGS section like that indicating that they'd have to upgrade just because of my module. If I did have to put in a section like that, I'd like to point them to a perlbug# specific for their version & platform -- but that still would beg the question, "why BSD and not linux"? On the level that I'm using perl, they should be identical. If the 5.12 version of perl on BSD was miscompiled, I'd think that would be fixable, no?
For windows, am wondering if I should just skip those tests that won't work? The execute test on lib/P.pm... yeah, that would be skippable, but the other test is testing the ability to print directly *from* a file descriptor. I think that should work on windows if I write a tiny perl-prog to emulate the function(s) of cat & rev. I.e. its a corner case that's not really worth the effort, but it would probably be the "right thing to do"...;^/
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: perl 5.12 BSD portability (CPAN test result)...print
by tobyink (Canon) on Mar 10, 2013 at 21:55 UTC | |
by perl-diddler (Chaplain) on Mar 10, 2013 at 22:49 UTC | |
by tobyink (Canon) on Mar 11, 2013 at 07:40 UTC | |
by syphilis (Archbishop) on Mar 11, 2013 at 08:05 UTC | |
by perl-diddler (Chaplain) on Mar 14, 2013 at 05:31 UTC |