Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Returning a tied scalar

by salva (Canon)
on Apr 16, 2005 at 11:34 UTC ( [id://448448]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub int_monitor (\$ ) :lvalue {
      my $var=shift;
    ...
    
    (int_monitor my $bar) = 15;
    print "$bar\n";
    
  2. or download this
    sub int_monitor (\$;$)  {
      my $var=shift;
    ...
    
    int_monitor my $foo => 14;
    print "$foo\n";
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-04-25 09:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found