NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
I like seeing the names of unitialised variables (Score:2)
I voted "none of the above" because my favourite thing is the way unitialised variables are now named, whenever possible:
It's already saved me time today. Thanks Dave [iabyn.com] for making this work.
Re: (Score:1)
That's a great feature, and I definitely think it should've made the list, as it's my number two feature. It's close to //, but I just have too much perl 5 code which says defined $foo ? $foo : $bar.
I think I'd probably rate the proper reporting of uninitialized variables higher, except I've done without for so long, I rarely encounter that problem anymore. But the defined check warts have remained year after year - it isn't problem code to be fixed, except that it bothers my code sense and I'm just tired
More fun. More corner cases :) (Score:1)
Enjoy, have FUN! H.Merijn
all (Score:1)
use sort '_mergesort'; (Score:1)
My favourite 5.10 moment was when I had finished writing a program [catalyst.net.nz] to do some re-ordering, and realising that I was sending in data to Perl's sort which was nearly already sorted - the worst kind of input to the quicksort algorithm - that Perl 5.10 has a pragma to make it use the sort I wanted. Nice.
Re: (Score:1)
Hasn’t mergesort been the default for a while now?
Re: (Score:1)
Going the unconventional (Score:1)
say() (Score:1)
I voted for say(). It's only a really small improvement, but the one that saved me the most typing.
Second place is //.
State variables are very cool, but it really takes for me to actually use them, because most programming languages I worked with so far didn't have something similar.
// good feature, bad syntax (Score:1)