Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Can you override lexically scoped variables when sub-classing a module.

by lamprecht (Friar)
on Oct 12, 2012 at 17:50 UTC ( [id://998758]=note: print w/replies, xml ) Need Help??


in reply to Can you override lexically scoped variables when sub-classing a module.

Does p1 access $var1 directly? Otherwise you could override get_var1. (Possibly with a default SUPER call unless it has been set in p2).

Cheers

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2026-04-10 11:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.