I have a vague suspicion that they might be avoiding imports due to the memory cost - which is significant in a mod_perl environment.
Importing is aliasing. You're not copying the function, but merely aliasing it. All it costs is one symbol table entry.
Things are different when autoloading takes place, but it depends on the implementation then.
Juerd # { site => 'juerd.nl', plp_site => 'plp.juerd.nl', do_not_use => 'spamtrap' }
In reply to Re: Re^2: Pragma (more) like Java's 'import'? (importing and mod_perl)
by Juerd
in thread Pragma (more) like Java's 'import'?
by djantzen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |