in reply to Re: Weird Exporter Problem in Mason with mod_perl2
in thread Weird Exporter Problem in Mason with mod_perl2

My bet is that importing works, but it's importing to the wrong namespace. Look into which namespace is used for once vs init. If the following work, my hypothesis is confirmed:

Unfortunately - doesn't work.

Namespace in <%once> is "HTML::Mason::Commands" too.

The warn in <%init> is not even executed, the error seems to come during compile time?

Bye
 PetaMem
    All Perl:   MT, NLP, NLU

  • Comment on Re^2: Weird Exporter Problem in Mason with mod_perl2