go ahead... be a heretic | |
PerlMonks |
Re: Doubt in assigning hash reference values for Constant pragma declaration ?by Anonymous Monk |
on Sep 21, 2007 at 07:03 UTC ( [id://640278]=note: print w/replies, xml ) | Need Help?? |
The assignment my $hash = { 'a' => 2 }; is wrong way of initilising the hash and my %hash = ( 'a' => 2 ); is the right way thats why it dosent work
In Section
Seekers of Perl Wisdom
|
|