Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Perl: porters

[perl #90240] keys(@array) gives too many indices

 

 

Perl porters RSS feed   Index | Next | Previous | View Threaded


perlbug-followup at perl

Jul 3, 2012, 5:17 PM

Post #1 of 3 (127 views)
Permalink
[perl #90240] keys(@array) gives too many indices

Eric, was this patch ever written?

-doy

---
via perlbug: queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=90240


perlbug-followup at perl

Jul 3, 2012, 11:02 PM

Post #2 of 3 (125 views)
Permalink
[perl #90240] keys(@array) gives too many indices [In reply to]

On Tue Jul 03 17:17:05 2012, doy wrote:
> Eric, was this patch ever written?

Both the ticket and the patches were created. It is #105278


---
via perlbug: queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=90240


perlbug-followup at perl

Jul 4, 2012, 1:38 PM

Post #3 of 3 (125 views)
Permalink
[perl #90240] keys(@array) gives too many indices [In reply to]

On Wed Jul 04 04:50:19 2012, jv wrote:
> On Tue Jul 03 23:02:49 2012, ikegami [at] adaelis wrote:
> > On Tue Jul 03 17:17:05 2012, doy wrote:
> > > Eric, was this patch ever written?
> >
> > Both the ticket and the patches were created. It is #105278
>
> Regardless of whether delete/exists on arrays will be actually
> deprecated -- I still consider it a lost opportunity to not add value to
> keys(@array) over 0..$#array.

Feel free to create a function that does what you want. keys should
return the keys as far as I'm concerned.

---
via perlbug: queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=90240

Perl porters RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.