Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: How do you get around the lexical scoping of use pragmas?

by apotheon (Deacon)
on Aug 27, 2006 at 01:53 UTC ( [id://569851]=note: print w/replies, xml ) Need Help??


in reply to Re^2: How do you get around the lexical scoping of use pragmas?
in thread How do you get around the lexical scoping of use pragmas?

There are a number of things I'd like to see done differently by default in Perl, including the strict pragma being on by default (though I'm not so sure about warnings) — and also default lexical scope so that I don't have to use my() all the time, and so that autovivification would create lexically scoped variables.

print substr("Just another Perl hacker", 0, -2);
- apotheon
CopyWrite Chad Perrin

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2024-04-19 10:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found