Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^3: fields alternative?

by stvn (Monsignor)
on Apr 06, 2011 at 14:02 UTC ( #897793=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package LockedBox;
    use Moose;
    ...
            lock_value( %$self, $attr->name )
        }
    }
    
  2. or download this
    my $foo = LockedBox->new( bar => 10 );
    
  3. or download this
    my $foo = LockedBox->new( bar => 10, baz => 100 );
    
  4. or download this
    $foo->{baz} = 20;
    
  5. or download this
    $foo->{bar} = 20;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://897793]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2017-06-26 22:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (595 votes). Check out past polls.