Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^5: Declaring with my, assigning, and testing in same line (attributes)

by LanX (Sage)
on Dec 12, 2015 at 22:05 UTC ( #1150140=note: print w/replies, xml ) Need Help??


in reply to Re^4: Declaring with my, assigning, and testing in same line (attributes)
in thread Declaring with my, assigning, and testing in same line

nice! :)

see

use Attribute::Handlers autotieref => { Selfish => Tie::Selfish };

for another way for untie to access the varref

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!

  • Comment on Re^5: Declaring with my, assigning, and testing in same line (attributes)
  • Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2022-08-14 21:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?