From: "Patrice Boisieau" <[EMAIL PROTECTED]>
> In order to increase the time execution of a Perl script, I wonder if
> it is possible to reduce the time loading of a module at the
> compilation step. In particular, is the time loading reduced when just
> one of the symbols exported by the module is used ? I mean, does the
> instruction 'use Module::Symbol;' cost less time than 'use Module;' ?
> Regards Patrice Boisieau

This can't be said. But it is meaningless as well. The 
        use Module;
and 
        use Module::Symbol;
loads two different and possibly totaly unrelated modules.

I guess you meant

        use Module;
vs.
        use Module qw(Symbol);

right?

Well the later costs a bit more, but the difference is immesurable.
Unless of course the qw(Symbol) doesn't tell the module to import 
the Symbol, but to DO something. Which is quite possible, though 
less likely.

And you would have to tell us WHICH module is it.

Jenda

=========== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ==========
There is a reason for living. There must be. I've seen it somewhere.
It's just that in the mess on my table ... and in my brain
I can't find it.
                                        --- me

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to