Saurabh Singhvi wrote:
Hi
Hello,
herez my data and i am having a problem
#!/usr/bin/perl -w
use strict;
that will tell you a lot probably.
You might want to "tableize" your giant hash to make it easier to read
(pronounced "find obviouse mistakes")
my %info = (
'foo' => {
'bar' => [qw(a b c)],
},
);
instead of
my %info = ('foo'=>{'bar'=>[qw(a b c)],},);
and just FYI you should not double quote values that don't have anythgin
being interpolated:
"foo" => {
"bar" => ["a","b","c"],
},
use s ingle quote instead (or q{} etc) basically don;t interpolate
strings with nothgin to interpolate, it'll run that much quicker :)
HTH :)
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>