Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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'

Replies are listed 'Best First'.
Re^4: Naming Convention For Global Variables?
by LanX (Chancellor) 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 wandering the Monastery: (4)
As of 2016-09-27 06:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (495 votes). Check out past polls.