Got this:
sub _run_chain { my $s = shift; my $sub = shift; for my $r ( @{ $s->{_classes} } ) { no strict 'refs'; $r->$sub if $r->can($sub); } }
But still getting: died: Can't use string ("File::Collector::Date::Classifie"...) as a HASH ref while "strict refs" in use
$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest Vicar";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks
In reply to Unable to turn off strict refs by nysus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |