in reply to Re^2: Code reference ( \¬ThisCall() )
in thread Code reference
Also check for other inadvertent (but, believe me, all too possible) fatfinger variations that you NOT wanna have:
c:\@Work\Perl>perl -wMstrict -MData::Dump -le "sub S { print 'oops...'; } ;; my $hr = { 'darn' => S, 'rats' => \S, 'nuts' => &S, }; ;; dd $hr; " oops... oops... oops... { darn => 1, nuts => 1, rats => \1 }
|
|---|