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.
  • Both examples make sense to me, but if you've got Perl coders who don't code Perl *all* the time, I think the second example would require a few more brain cycles than the the first. This is especially true if there's one part they don't remember--like the fact that split returns a list. The temporary variable re-enforces this by showing it. Besides, memory is cheap :)