On Nov 3, Gilles said:

These lists will decrease during processing and will normally contain one
element, so to know if a list is definitely treated I need a flag.

Why?  You can find the size of an array like so:

  $size = @array;

In the case of an array reference, it's merely

  $size = @{ $aref };

What are you doing that leads you to believe you'll need a special marker of some sort to indicate that an array has been processed?

--
Jeff "japhy" Pinyan        %  How can we ever be the sold short or
RPI Acacia Brother #734    %  the cheated, we who for every service
http://www.perlmonks.org/  %  have long ago been overpaid?
http://princeton.pm.org/   %    -- Meister Eckhart

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to