Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
XP is just a number
 
PerlMonks  

Re^10: $1 not "freezing" in an addition

by chromatic (Archbishop)
on Dec 16, 2012 at 01:43 UTC ( #1009035=note: print w/ replies, xml ) Need Help??


in reply to Re^9: $1 not "freezing" in an addition
in thread $1 not "freezing" in an addition

If your answer to "How is Perl::Critic to do this thing?" is "Magic", then I'd very much like to see your implementation.

Clearly stringification of $1 is undesireable...

Giving the wrong answer sometimes is undesirable. Giving the wrong warning doubly so.


Comment on Re^10: $1 not "freezing" in an addition
Re^11: $1 not "freezing" in an addition
by Anonymous Monk on Dec 16, 2012 at 02:05 UTC

    If your answer to "How is Perl::Critic to do this thing?" is "Magic", then I'd very much like to see your implementation.

    Do what?

    Giving the wrong answer sometimes is undesirable. Giving the wrong warning doubly so.

    Gee, if only perlcritic had some way to differentiate levels of warnings ... no, it must always be 100% perfect

Re^11: $1 not "freezing" in an addition
by LanX (Abbot) on Dec 16, 2012 at 02:15 UTC
    Hei chromatic,

    apply some magic and better ignore this anonymous troll! =)

    cheers Rolf

      Apply some magic and better ignore the troll! =)

      Anonymous Monk expresses a few simple ideas and chromatic has to start conflating them on purpose

       $1 ... foo() there is no ambigiuity, the potential exists for this bug

      so what is the problem with a user asking for extra warnings, extra debugging mode, extra potential criticism, even if they don't cover 100% of all situations, even if they can be wrong, even if it requires a special compile of perl for descend into xs, or running scandeps, or whatever?

      oh right, must be a troll

        P::C depends on PPI.

        PPI does per definition static parsing.

        What you're asking is far beyond the scope of P::C!

        But if you think it's feasible, you're more than welcome do demonstrate we are wrong by releasing such a new magic tool.

        So ... either you lack the know how to understand the limitations of parsing a dynamic language or you are trolling us.

        In both cases no need to waist more time with someone who hides behind anonymity.

        Cheers Rolf

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (22)
As of 2014-04-18 14:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (469 votes), past polls