[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]
Re: [PATCH] Data::Dumper.pm
>>>>> "Chris" == Chris Nandor <pudge@pobox.com> writes:
Chris> Well, some people won't have B available ...
Chris> my $haveBDeparse = eval { require B::Deparse };
That's incomplete, because 5.5.3 has B::Deparse but no coderef2text.
Maybe:
my $have_coderef2text = eval {
require B::Deparse;
defined &B::Deparse::coderef2text;
};
Or something close to that.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
- References to:
-
James Duncan <james@ebookers.com>
Chris Nandor <pudge@pobox.com>
[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]