http://www.perlmonks.org?node_id=1029968


in reply to Re^2: RFC: Simulating Ruby's "yield" and "blocks" in Perl
in thread RFC: Simulating Ruby's "yield" and "blocks" in Perl

1... 2... 3... 4... 5...

Hm. You've chosen describe reasoning for your doing the emulation; rather then what that emulation (or the original feature) would be useful for.

6. I already expected you objecting

I guess that just goes to show how easy it is to see what you expect to see.

I meant the little used and not very useful Ruby feature, rather than your overly complex emulation of it.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re^3: RFC: Simulating Ruby's "yield" and "blocks" in Perl

Replies are listed 'Best First'.
Re^4: RFC: Simulating Ruby's "yield" and "blocks" in Perl
by LanX (Saint) on Apr 22, 2013 at 19:58 UTC
    Perlers use regexes more often because they are better accessible in Perl.

    Codeblocks are easier accessible this way, thats why Ruby uses them very often.

    I have no problem, if you don't understand the aim of other paradigms and prefer to stick with your well known tools ... TIMTOWTDI. =)

    Cheers Rolf

    ( addicted to the Perl Programming Language)

      I have no problem, if you don't understand

      Still dodging the question I see. I'm surprised that you'd bother emulating a feature you cannot describe a use for.


      With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.
        LOL ... =)

        You know the story where Einstein was asked by a journalist if he can explain Relativity Theory in 10 minutes?¹

        Cheers Rolf

        ( addicted to the Perl Programming Language)

        ¹) Nota Bene I'm not saying I'm Einstein and that FP is RT... =)

      Codeblocks are easier accessible this way? Really! Kid someone else!

      There is no paradigm in here, just syntactic sucralose.

      Jenda
      Enoch was right!
      Enjoy the last years of Rome.