Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^3: Naming Convention For Global Variables?

by tobyink (Abbot)
on Sep 28, 2012 at 12:56 UTC ( #996207=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Naming Convention For Global Variables?
in thread Naming Convention For Global Variables?

With the exception of $ARGV none of those variables are used by perl itself. They are specific to English.pm (see English) and are documented in perlvar for convenience (even though barely anybody uses English.pm).

perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'


Comment on Re^3: Naming Convention For Global Variables?
Download Code
Re^4: Naming Convention For Global Variables?
by LanX (Canon) on Sep 28, 2012 at 15:02 UTC
    You forgot at least $MATCH, $PREMATCH and $POSTMATCH.

    I'll check later...

    UPDATE:

    Your right it's Perl Critic moaning w/o checking if English was used. :(

    Cheers Rolf

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2014-07-26 09:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (175 votes), past polls