in reply to Re: Re: A hash slice but not..
in thread A hash slice but not..

The eval does not handle the keys being arbitrary data.

I prefer the loop.

Replies are listed 'Best First'.
Re: Re (tilly) 3: A hash slice but not..
by extremely (Priest) on Feb 15, 2001 at 01:05 UTC
    Ack, =) The same thing I scolded him for on the $value thing. I'd likely rewrite the join with a foreach that makes $tree[0] entries and still let perl handle the autoviv.

    Update: Nevermind, repeat after me kids, "eval is a four letter word". =)

    --
    $you = new YOU;
    honk() if $you->love(perl)