Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Unable to turn off strict refs

by chromatic (Archbishop)
on Sep 03, 2019 at 21:46 UTC ( #11105534=note: print w/replies, xml ) Need Help??


in reply to Unable to turn off strict refs

It's probably failing on $s->{_classes}, but we'd have to see the calling code to know for sure.

Replies are listed 'Best First'.
Re^2: Unable to turn off strict refs
by nysus (Vicar) on Sep 03, 2019 at 21:51 UTC

    If I comment out the line the for loop, the script exits without error. But here is the calling code:

    $s->_run_chain('_run_processes');

    $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

      Then $s is probably a class name, not an object.

        Yeah, I figured that out later on. Still getting some brain wires crossed on this OO stuff. Thanks.

        $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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11105534]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2020-09-28 04:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I donít succeed, I Ö










    Results (143 votes). Check out past polls.

    Notices?