Stories
Slash Boxes
Comments
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.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • by vsergu (505) on 2003.02.27 20:43 (#17597) Journal
    You're comparing use of $_ with use of map() and grep() in void context? To me, writing Perl without $_ is like writing English without pronouns. It's hardly a mark of good style.
    • I mean, often I see $_ used and modified 5 times in a dozen lines, this is a pig when a program has evolved over time - named variables are usually preferably 9 times out of 10.
      --

      @JAPH = qw(Hacker Perl Another Just);
      print reverse @JAPH;