Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Is this a hash?

by pme (Prior)
on Jun 16, 2015 at 14:32 UTC ( #1130619=note: print w/replies, xml ) Need Help??


in reply to Is this a hash?

Hi nhnl,

Welcome to the monastery!

$thing is a hashref. You can read more about perlrefs perlref and perlreftut.

use strict; use Data::Dumper; my $a = 5; my $b = 6; my $thing = { a => $a, b => $b, }; print Dumper($thing) . "\n";
output is
$VAR1 = { 'a' => 5, 'b' => 6 };

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2020-01-28 06:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?