in reply to Re^2: Storing data into hashes
in thread Storing data into hashes
Hashes don't interpolate in strings:
#!perl -w use strict; my %SeqRec; print ("content of hash is %SeqRec\n");
I recommend to use Data::Dumper for debugging contents of variables:
use Data::Dumper; my %SeqRec = (foo => 'bar'); print ("content of hash is " . Dumper \%SeqRec);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Storing data into hashes
by rkrish (Acolyte) on Dec 31, 2012 at 10:20 UTC | |
by Corion (Patriarch) on Dec 31, 2012 at 10:35 UTC |