Hi,
I want to add an array as an hash entry e.g.
%HOA = {one=>"@arr"};
And you're right John I do get the warning
Reference found where even-sized list expected at line n.
Now how do I remove it?
cheers,
Sachin
_
Are you Unmarried?
Sachin Hegde wrote:
>
> Hi,
Hello,
> I want to add an array as an hash entry e.g.
> %HOA = {one=>"@arr"};
>
> And you're right John I do get the warning
>
> Reference found where even-sized list expected at line n.
>
> Now how do I remove it?
Like I said in my previous message, use parenthe
On Aug 6, Sachin Hegde said:
>%HOA = {one=>"@arr"};
>
>And you're right John I do get the warning
>Reference found where even-sized list expected at line n.
>Now how do I remove it?
You are using CURLY braces: {...}. You want to be using PARENTHESES when
you define a hash.
my %hash = ( key