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 don't have time to experiment myself, but is this the difference between a Block and a Proc again?

    • Oops, yes. So I just learned that blocks aren't functions even though they syntactically look like them. Apparently this would have worked just fine if I'd passed a proc{} in and use .call on it instead.

      I'm not sure why Rubyists accept blocks the way they are.

      Heck, why do perlers except that map and grep's little lambdas don't treat return() properly?