Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re3: Safe / @ISA Problem

by dragonchild (Archbishop)
on Mar 19, 2002 at 17:39 UTC ( #152797=note: print w/replies, xml ) Need Help??

in reply to Re: Re: Safe / @ISA Problem
in thread Safe / @ISA Problem

Try having a return $self; as the last line in the function instead of depending on an explicit return. *wink*

We are the carpenters and bricklayers of the Information Age.

Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.

Replies are listed 'Best First'.
Re: Re3: Safe / @ISA Problem
by rdw (Curate) on Mar 19, 2002 at 20:44 UTC

    And then the problem re-appears - the print has nothing to do with it - it works if you put a print in instead of bless as the last thing in A::new, because then the code does something completely different.

    Anyway, never mind - I've worked out what's going on now - I'll reply higher up.

    Have fun,


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2023-04-02 12:15 GMT
Find Nodes?
    Voting Booth?

    No recent polls found