Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^3: Perl 5 Optimizing Compiler, Part 9: RPerl.org & The Low-Magic Perl Commandments

by Anonymous Monk
on Nov 10, 2013 at 03:41 UTC ( #1061887=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Perl 5 Optimizing Compiler, Part 9: RPerl.org & The Low-Magic Perl Commandments
in thread Perl 5 Optimizing Compiler, Part 9: RPerl.org & The Low-Magic Perl Commandments

Full backwards compatibility? But you can't pass things to functions? This sounds as useful as Perl-6. Have you met Raiph?


Comment on Re^3: Perl 5 Optimizing Compiler, Part 9: RPerl.org & The Low-Magic Perl Commandments
Re^4: Perl 5 Optimizing Compiler, Part 9: RPerl.org & The Low-Magic Perl Commandments
by Anonymous Monk on Nov 10, 2013 at 07:21 UTC
    Which part of start like this, restricted subset don't you understand?
Re^4: Perl 5 Optimizing Compiler, Part 9: RPerl.org & The Low-Magic Perl Commandments
by Will_the_Chill (Pilgrim) on Nov 10, 2013 at 07:48 UTC
    "you can't pass things to functions"
    How did you come up with that wild misconception? You can pass arguments to functions just fine in RPerl.

    And yes, I'm friends with Raiph. He's a super nice guy. What's your point, a weak attempt at ad-hominem personal attack, maybe? Come on. We all know Perl 6 has issues, so does Perl 5, deal with it.

    Perling,
    ~ Will
      If you forbid @_ you forbid function arguments. Do you even lift, bro?
        YOU'RE RIGHT! You hereby officially win 1 brownie point for helping me figure out that the allowable exceptions for using $_ and @_ are not clearly-enough spelled out in The Low-Magic Perl Commandments. Thanks to you, 4 commandments have been updated:

        LMPC #42. Thou Shalt Use Real Prototypes (“our int__array_ref $f = sub {(my string $x, my int $y) = @_; ...}”, @_ Allowed)

        LMPC #43. Thou Shalt Not Use Perl Prototypes (AKA Parameter Context Templates)

        LMPC #52. Thou Shalt Use Lexical-Scope Grep & Map (“map { my int $var = $_; foo($var); } @{$vars};”, $_ Allowed)

        LMPC #53. Thou Shalt Not Use Dynamic-Scope Grep Or Map (“map { foo($_); } @{$vars};”, $_ Disallowed)

        I appreciate your help in tracking down that bug! :-)

        Perling,
        ~ Will the Chill

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1061887]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (11)
As of 2014-12-27 16:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls