Slash Boxes
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

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • I voted "none of the above" because my favourite thing is the way unitialised variables are now named, whenever possible:

    perl -we 'print $ENV{pie}'
    Use of uninitialized value $ENV{"pie"} in print at -e line 1.

    It's already saved me time today. Thanks Dave [] for making this work.

    • 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