in reply to is_constant() - a routine that detects constant subs

Okay, I'm curious: why did you need this? What are you using it for?
  • Comment on Re: is_constant() - a routine that detects constant subs

Replies are listed 'Best First'.
Re: Re: is_constant() - a routine that detects constant subs
by samtregar (Abbot) on May 20, 2002 at 16:58 UTC
    I'm working on building a new profiler (Devel::Profiler). It's highly useless to instrument constants for a couple reasons (wrappers won't get called, they're useless if they do). Thus, is_constant() was born.

    The module should get its first release sometime today - check it out if you get a chance.

    -sam