in reply to Better way to add refs to an array or hash?

I believe a simple

$tokens{$id} = $href;

should do the trick... (unless I'm missing something obvious, because I'm about to fall asleep)

Replies are listed 'Best First'.
Re^2: Better way to add refs to an array or hash?
by Argel (Prior) on Mar 25, 2005 at 00:56 UTC
    Cog: You're right. I had another bug that was corrupting $id that confused me. ( Hangs head in shame )
    -- Argel