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.
  • I like the /fun.*/ variants, 'fun' being my favorite.

        fun add($x, $y) { $x + $y }

    or perhaps

        $add = fun($x, $y) { $x + $y }

    eh? nice and short. Though now that I look at it, 'func' might be slightly more readable for the uninitiated. But they might have other problems with this fun insanity!