in reply to Re: Arrays as Hash Values
in thread Arrays as Hash Values

Yes, I hear/see what you are saying, however, what if my array elements need to be interpolated:

my %hash = ( key1 => ["one thing","one $thing","$another"], key2 => ["and the list","keeps $going"] );

When I go down this road, I am seeing errors. Should I be? or is this syntax correct? Apologies for not getting into this prior.

humbly -c

Replies are listed 'Best First'.
Re: Re: Re: Arrays as Hash Values
by dragonchild (Archbishop) on Aug 16, 2001 at 05:07 UTC
    As far as I can tell, that syntax looks to be just fine. What I would do at this point is to post an actual running script (doesn't have to be long) and its output, including errors. That way, we can help you more.

    ------
    /me wants to be the brightest bulb in the chandelier!

    Vote paco for President!

Re: Re: Re: Arrays as Hash Values
by clearcache (Beadle) on Aug 16, 2001 at 10:51 UTC
    try enclosing key1 and key2 in quotes