Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^7: Experimenting with Lvalue Subs

by Juerd (Abbot)
on Jan 27, 2005 at 22:53 UTC ( #425803=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub foo : Property { $_ < 10 }
    
    main->foo = 9;
    main->foo++;  # dies
    
  2. or download this
    has $foo where { $_ < 10 };
    
  3. or download this
    my $foo where { $_ < 10 };
    
    $foo = 9;
    $foo++;  # dies
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2014-09-22 04:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (178 votes), past polls