Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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


Comment on Re: top heavy with a large rear end
Select or Download Code

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 scrutinizing the Monastery: (10)
As of 2014-12-22 04:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (110 votes), past polls