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

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

by LanX (Saint)
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 examining the Monastery: (3)
As of 2023-09-29 01:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?