Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Dynamic Variables?

by tobyink (Canon)
on Sep 10, 2013 at 23:14 UTC ( [id://1053381]=note: print w/replies, xml ) Need Help??


in reply to How To Print Single Element From Nested Hashes?

List::MapMulti?

use List::MapMulti qw(mapm); my @keys = sort keys %hash; mapm { my ($QB1, $QB2, $RB1, $RB2) = @_; ...; } \@keys, \@keys, \@keys, \@keys;

... or even...

use List::MapMulti qw(mapm); my @keys = sort keys %hash; mapm { my ($QB1, $QB2, $RB1, $RB2) = @_; ...; } (\@keys) x 4;
use Moops; class Cow :rw { has name => (default => 'Ermintrude') }; say Cow->new->name

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-04-23 12:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found