Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: top heavy with a large rear end

by philiprbrenan (Monk)
on Sep 02, 2012 at 11:06 UTC ( #991262=note: print w/ replies, xml ) Need Help??


in reply to top heavy with a large rear end

Even less:

use feature ":5.14"; use warnings FATAL => qw(all); use strict; use Data::Dump qw(dump pp); my $a = bless{qw(foo foo fie fie foe foe fum fum)}; eval 'sub '.$_.':lvalue {my ($f) = @_; $f->{'.$_.'}}' for keys %$a; say $a->fie; $a->fie = 'FIE'; say $a->fie;

Produces

fie FIE

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2016-06-30 00:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (388 votes). Check out past polls.