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

Re**5: helping along $_

by belg4mit (Prior)
on Sep 09, 2002 at 16:47 UTC ( #196345=note: print w/replies, xml ) Need Help??

in reply to Re^4: helping along $_
in thread helping along $_

Yes, okay. But that doesn't really affect how this hypothetical behavior for ARGHelper would be, does it? It simply means that defining what constitutes assignment with the same parameters as what incurs the warning is slightly too restrictive (as it leaves out 0 and 1), but the idea is still there and otherwise valid. I don't think you've made your case as to how this could negatively affect things; I already pointed out the bit about scope. An assignment returns its value, so the statement still evaluates to 0 or 1, whether or not an assignment is taking place.
% echo '$_=0;' >! /tmp/ ; perl -Mlib=/tmp -Ma did not return a true value. BEGIN failed--compilation aborted.

perl -pew "s/\b;([mnst])/'$1/g"

Replies are listed 'Best First'.
Re^6: helping along $_
by Aristotle (Chancellor) on Sep 09, 2002 at 16:53 UTC
    I didn't have a case to make, just a gut feeling that this has potential break something in an obscure way. The things I mentioned were what came to mind at the moment.

    Makeshifts last the longest.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2019-05-20 18:55 GMT
Find Nodes?
    Voting Booth?
    Do you enjoy 3D movies?

    Results (128 votes). Check out past polls.