[Kc] Re: when multidim emulation works

Nick Ing-Simmons nick.ing-simmons at elixent.com
Mon May 12 04:40:52 CDT 2003


David Nicol <whatever at davidnicol.com> writes:
>So what's the easiest way to coerce an array into an OP_LIST?

The easiest thing to do for perl5 is not to use "multidim emulation"
but use multi-dimensioned arrays.
If that is too much overhead then explcit join would seem simplest.

>
>
>On Mon, 2003-05-12 at 02:25, Rafael Garcia-Suarez wrote:
>
>> the parser converts the hash subscript expression to
>> a join C<$;,...> only when this expression is an OP_LIST.
>> (Grep the sources for "jmaybe".)
-- 
Nick Ing-Simmons
http://www.ni-s.u-net.com/




More information about the kc mailing list