return hash

From: vertigo (none_at_microsoft.com)
Date: 07/15/04


Date: Thu, 15 Jul 2004 16:53:53 +0200

Hello
at the end of my function i return hash:
return \%hash;

and i want to use that function to receive that hash:
my %newhash=MyFunction(); #line 14

but i receive error:
Reference found where even-sized list expected at line 14.

and when i try:
my \%newhash=MyFunction(); #line 14
i receive syntax error.

Why ?

Thanx
Michal