Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Re4: use Very::Long::Module::Name as Foo;

by liz (Monsignor)
on Oct 14, 2003 at 18:18 UTC ( #299210=note: print w/ replies, xml ) Need Help??


in reply to Re4: use Very::Long::Module::Name as Foo;
in thread use Very::Long::Module::Name as Foo;

No, because it is a source filter. It changes source such as:

use Very::Long::Module::Name as Foo;
to:
BEGIN {*{"Foo::"} = \*{"Very::Long::Module::Name::"}}use Very::Long::M +odule::Name;
essentially aliasing the stashes of the Foo namespace with the Very::Long::Module::Name namespace at compile time.

So this is before anything is required under "use"s hood.

Liz


Comment on Re: Re4: use Very::Long::Module::Name as Foo;
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (11)
As of 2015-07-29 11:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (263 votes), past polls