in reply to Re: Intercepting compile time blocks like BEGIN {}
in thread Intercepting compile time blocks like BEGIN {}

> eval() isn't used. But something is. Does it really matter what that something is?

theoretically no, practically yes, because extending an eval mechanism shouldn't be difficult "something" OTOH could mean anything much more complicated.

Cheers Rolf

  • Comment on Re^2: Intercepting compile time blocks like BEGIN {}

Replies are listed 'Best First'.
Re^3: Intercepting compile time blocks like BEGIN {}
by ikegami (Patriarch) on Aug 10, 2010 at 01:06 UTC
    Quite the opposite. eval is an op. It's meant to be called from Perl land. This may subject it to limitations and make it a poor choice. Limiting yourself to a specific implementation (without knowing anything about it) is definitely not better.