entring variables in Hash

2003-08-14 Thread Sachin Hegde
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?

Re: entring variables in Hash

2003-08-06 Thread John W. Krahn
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

Re: entring variables in Hash

2003-08-06 Thread Jeff 'japhy' Pinyan
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