in reply to How to simulate a preprocessor macro without one?

What?
  • Comment on Re: How to simulate a preprocessor macro without one?

Replies are listed 'Best First'.
Re^2: How to simulate a preprocessor macro without one?
by AriSoft (Sexton) on Feb 08, 2010 at 02:12 UTC

    Can I easily substitute a function call with other commands in the source code at compile time without using source Filter::Util::Call etc... ?

    In another words, is it possible to define a class method which runs at compile time and expands the call to a program block instead of returning a value from the class method at the run time?

      You can redefine functions at any time ( BEGIN/RUN/CHECK/END )