>>>>> "PS" == Peter Scott <[EMAIL PROTECTED]> writes:

  PS> I have occasionally felt it would be nice to be able to
  PS> distinguish between shifting an explicit undef value off an array
  PS> and calling shift() on an empty array without having to test the
  PS> length of the array.  Is that likely to fall out of any of the
  PS> current thinking?  I do not want shift() on an empty array to die
  PS> by default.

that could easily be done with a property on the shifted value like
undef but 'Empty'. an undef from an element is shifted as is. so it is
more a feature to add to shift than to undef.

uri

-- 
Uri Guttman  ------  [EMAIL PROTECTED]  -------- http://www.stemsystems.com
--Perl Consulting, Stem Development, Systems Architecture, Design and Coding-
Search or Offer Perl Jobs  ----------------------------  http://jobs.perl.org

Reply via email to