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 agree, though I think it might need a special-case for zero-arity so that could could write an arbitrary reduction:

        'sum' => { @stack = [+] @stack }, ...

    hmm, can that be written as assignment-operator?

        'sum' => { @stack [+]= () },

    • I was hoping to use zero arity like so:

      'pi' => { 3.1415926 }

      Perhaps

      'sum' => { @stack = [+]@stack; } but WholeStack,

      or something along those lines would work.