in reply to Re: Re: Forcing Array Context
in thread Forcing Array Context

I think I've got it:

for (keys %{ $scalar }) { print "$_\n" for @{$_}; }

Does that look right?

Replies are listed 'Best First'.
Re: Re: Re: Re: Forcing Array Context
by ViceRaid (Chaplain) on Jun 25, 2003 at 11:16 UTC

    Yep, that's what you want. Sorry, I missed this post before posting below.

      Thanks :)