Re: Patch for keys(), each(), and values()

[email protected] (Nicholas Clark) Sun, 4 Aug 2002 21:36:09 +0100
Newsgroups perl.perl1.porters
Message-ID <[email protected]>
On Sun, Aug 04, 2002 at 04:20:44PM +0100, Michael Stevens wrote:
> On Sun, Aug 04, 2002 at 10:13:37AM -0500, Glenn King wrote:
> > Just for my own sanity.  Makes them act perl perl5ish.
> > ex
> > keys(%ENV) 
> > instead of
> > keys(ENV) # YUCK
> > t/op.each was updated accordingly

What was this not being perl5ish thing?

$ perl5.8.0 -le 'print foreach keys ENV'
HOME
SSH_AGENT_PID
XAUTHORITY
DISPLAY
PS1
HISTFILESIZE
....

Yes, it really still does work. I did try running the perl1 regression tests
through 5.8, and was surprised how many passed.
[but that was 2 days ago on a machine I can't access from here]

> If you really want to go that way I have a 47mb patch which
> solves ALL issues with perl 1 not acting perl5ish.

But it was a bit too big to fit in the margin of your message?
[whitespace steganography being good, but not *that* good]

Nicholas Clark
-- 
Even better than the real thing:	http://nms-cgi.sourceforge.net/