Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

(tye)Re: How might I return tied scalar that does not have to be dereferenced as $$scalar?

by tye (Sage)
on Sep 18, 2002 at 16:14 UTC ( [id://198887]=note: print w/replies, xml ) Need Help??


in reply to How might I return tied scalar that does not have to be dereferenced as $$scalar?

Datum->tieVar( (my $d), -type=>'date' ); ... package Datum; sub tieVar { my $class= shift @_; my $toTie= \$_[0]; shift @_; tie $$toTie, $class, @_; }
        - tye
  • Comment on (tye)Re: How might I return tied scalar that does not have to be dereferenced as $$scalar?
  • Download Code

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2024-04-25 06:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found