Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (9)
As of 2015-08-28 23:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (341 votes), past polls