This is because the first assignments assigns 'malay' to the hash %hash (with key 'ONE'), whereas the second tries to assign 'manab' to an anonymous hash that is referenced by the reference called $hash (that is not explicitely created and therefore errs with "strict" on).Global symbol "$hash" requires explicit package name at 710071.pl line + 5. BEGIN not safe after errors--compilation aborted at 710071.pl line ...
In reply to Re: hash Querry
by svenXY
in thread hash Querry
by perlplayer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |