[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]

Exported constants not inlined?



I was under the impression that constant functions got converted to
constants at compile time. Yet when running Devel::DProf on some code I
noticed my constants were being called as ordinary functions. Is this
because I've got them in a separate Exporter module, and if so - can this
be fixed somehow (preferably without explicitly specifying the full package
name)?

-- 
<Matt/>

Details: FastNet Software Ltd - XML, Perl, Databases.
Tagline: High Performance Web Solutions
Web Sites: http://come.to/fastnet http://sergeant.org
Available for Consultancy, Contracts and Training.


Follow-Ups from:
Tom Christiansen <tchrist@chthon.perl.com>
Gurusamy Sarathy <gsar@ActiveState.com>

[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]