Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 studying the Monastery: (7)
As of 2015-07-31 10:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (276 votes), past polls