Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: Creating "Lexical" Symbol Table Aliases (a la "use vars") From The Same Package

by tobyink (Abbot)
on May 09, 2014 at 10:50 UTC ( #1085568=note: print w/ replies, xml ) Need Help??


in reply to Re: Creating "Lexical" Symbol Table Aliases (a la "use vars") From The Same Package
in thread Creating "Lexical" Symbol Table Aliases (a la "use vars") From The Same Package

Those bits of source show how strict vars works, but what I'm more interested (and couldn't figure out) is which part of the code determines whether or not a glob assignment will result in setting the IMPORT flag on the GV.

Which bit of code does it? And is there a great big comment by that code explaining why it's done the way it's done?

use Moops; class Cow :rw { has name => (default => 'Ermintrude') }; say Cow->new->name


Comment on Re^2: Creating "Lexical" Symbol Table Aliases (a la "use vars") From The Same Package
Re^3: Creating "Lexical" Symbol Table Aliases (a la "use vars") From The Same Package
by Anonymous Monk on May 09, 2014 at 11:29 UTC

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2014-12-23 01:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (133 votes), past polls