Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Alias (5735)

Alias
  (email not shown publicly)
http://ali.as/

Journal of Alias (5735)

Friday August 17, 2007
10:35 PM

Unbreaking Params::Util on Red Hat Enterprise Linux 4

[ #34145 ]

Continuing my war on the zany RHEL 4 platform, I've skipped one of the more evil tests in Params::Util, which goes something like

my $evil = bless { foo => 'bar' }, "\0";
is( _INVOCANT($evil), 1, 'Object in null class is an invocant' );

The problem seems to stem from length(blessed($evil)), which would seem to itself derive from somewhere deeper.

Regardless, as the failure of this test represents such an absurdly rare/evil corner case, it's far better just to skip the test for regular users, and only run the test when under the AUTOMATED_TESTING flag.

This just leaves the failure of Task::Weaken on RHEL 4, which I think I have a way to address and force the installation of an upgraded version Scalar::Util with weaken support in it.

And finally, in a small teaser for YAPC::AU 2007 in Brisane in November (assuming the targeted project doesn't have its act together by then) I think I may have a sufficiently interesting new Vertical Metre of Beer challenge, which I'll be presenting during my "Optimising for Wetware" talk. :)

(I'll also post the details here that night)

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.