Michael G. Schwern [Sun, 27 May 2001 10:29:43 +0000 (11:29 +0100)]
Message-ID: <
20010527102942.J711@blackrider.blackstar.co.uk>
p4raw-id: //depot/perl@10322
sub CvGV_name_or_bust {
my $in = shift;
return if $skipCvGV; # Backdoor to avoid problems if XS broken...
+ return unless ref $in;
$in = \&$in; # Hard reference...
eval {require Devel::Peek; 1} or return;
my $gv = Devel::Peek::CvGV($in) or return;