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

Re: How to retrieve element in hash?

by choroba (Chancellor)
on Nov 30, 2012 at 10:27 UTC ( #1006449=note: print w/replies, xml ) Need Help??


in reply to How to retrieve element in hash?

Works for me:
#!/usr/bin/perl use warnings; use strict; my $recref = { DATA => { FIELD_DELIMITER => '<-->', FILE_NAME => 'SCRAMBLETEST2.CSV', RECORD_NAME => 'DATA', RECORD_SELECTOR => '^1', SECTION_NAME => undef, }}; my $recname = 'DATA'; print $recref->{$recname}{FIELD_DELIMITER};
Output:
<-->
Use Data::Dumper to check that your structures really contain what you think.
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1006449]
help
Chatterbox?
[davido]: I have nvidia (1050ti) in one system at home. My work laptop came with a radeon/amd video system that is no longer supported by debian/ubuntu. So that being the case I'm in the "prefer nvidia even if proprietary" camp
[davido]: Especially since the laptop is only a couple years old.

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (10)
As of 2017-05-26 14:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?