Chill Eric ... it was just a question ...
If its an Activestate "trademark secret" then just say it ... no need to play around with words ...
Its was just my knowing urge ...
I find Activestate Perl interesting and wanted to go to the depths to know things ...
 
Take a chill pill, bro ...
 
SVK 

"Roode, Eric" <[EMAIL PROTECTED]> wrote:
By magic -- evil and dark sorcery.
 
 You don't want to know.  And really, you don't need to.  You cannot reference a lexical variable by its name anyhow.  For all you know, perl completely does away with the variable names at compile time, like a C++ compiler would.
 
And finally, it's not particularly relevant to any real aspect of perl programming.  Compared to the amount of space perl allocates for everything else about variables (heck everything else in general!), the space that might or might not be allocated for lexical variable names is trivial, unless you had a bizarre contrived program with a million scalar lexical variables that went into and out of scope.
Eric J. Roode
Senior Enterprise Developer
Barrack, Rodos & Bacine
(215) 963-0600
 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ukhas jean
Sent: Tuesday, September 19, 2006 9:34 AM
To: Active Perl
Subject: RE: my n symbol table ...

Then how does Activestate Perl keep track of all the my variables within a block???
I mean there has to be a way ... right??
 
Rgds,
Raj SVK
Team Lead, ICICI

"Roode, Eric" <[EMAIL PROTECTED]> wrote:
Lexical ("my") variables do not exist in the symbol table at all.  Only package ("global") variables do.
 
Eric J. Roode


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ukhas jean
Sent: Tuesday, September 19, 2006 8:58 AM
To: Active Perl
Subject: my n symbol table ...

Does the entry from the symbol table get removed for a "my" variable say my $var once it exits the block its declared in??
 
 
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less. _______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


How low will we go? Check out Yahoo! MessengerÂ’s low PC-to-Phone call rates.
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to