Re: Syntax check

2002-05-29 Thread Felix Geerinckx
on Thu, 30 May 2002 04:20:43 GMT, [EMAIL PROTECTED] (Eric Beaudoin) wrote: > You might want to change [@user] to \@user if you really want to > refence that array instead of referencing a new copy of the array. > I'm not 100% sure but I don't think [@user] is the same as \@user. You're right,

Re: Syntax check

2002-05-29 Thread John W. Krahn
Melissa Cama wrote: > > Hi all, Hello, > Just a quick question! > > Is this the right way to assign an array to a key, in a Hash?? You can't assign an array reference to a hash key only to a hash value. > %hash_FeatureUsers = ($str_feature => [@user]); That will work. :-) John -- use Pe

Re: Syntax check

2002-05-29 Thread Eric Beaudoin
At 22:28 2002.05.29, [EMAIL PROTECTED] wrote: >Hi all, > >Just a quick question! > >Is this the right way to assign an array to a key, in a Hash?? > >%hash_FeatureUsers = ($str_feature => [@user]); > >Thanks >Melissa If you want to create an hash (or replace an existing one) with one entry, the k