Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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

Replies are listed 'Best First'.
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?
[Cosmic37]: greetings earthlings please can someone improve my pathetic perl knowledge
[Cosmic37]: I have 2 files each with datetime and other data in unknown order and I want to find rows from both files matching by datetime and output them combined/ concatenated
[Corion]: Sure
[Corion]: Do you have any specific interests or general Perl knowledge?
[Cosmic37]: should I slurp? should I grep? Noble Lords I wish you good karma and beg your advice
[Corion]: Cosmic37: Ah, see perlfaq4, about How do I compute the intersection of two arrays
[Cosmic37]: I am out of practice; I use Perl for scientific programming for number crunching
[Corion]: Cosmic37: Basically, you read one file into a hash, keyed by your key, and then match the lines from the second file to that hash

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (8)
As of 2017-06-29 16:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (672 votes). Check out past polls.