Why do the tests do this:

        require Config; import Config;
        if ($Config{'extensions'} !~ /\bData\/Dumper\b/) {
            print "1..0 # Skip: Data::Dumper was not built\n";
            exit 0;
        }

When it would seem to be a whole lot less obfuscated to do this:

        if( eval { require Data::Dumper } ) {
            print "1..0 # Skip: Data::Dumper not available\n";
            exit;
        }


-- 
Michael G Schwern        [EMAIL PROTECTED]  http://www.pobox.com/~schwern/
If God made anything more guerrila than your breast, I hope he kept it for
your father.

Reply via email to