I realize that this is somewhat esoteric, but did the API for the compiler
class change recently?
I have a custom code metric script that subclasses HTML::Mason::Compiler to
count lines of Perl in my Mason components. I haven't used it in a while,
but when I dusted it off, it threw an error saying "Mandatory parameter
'comp_path' missing in call to HTML::Mason::Compiler::compile". Sure enough,
when I pass "comp_path" (with the same value as "comp_source") it seems to
work.
The docs at [http://masonhq.com/docs/manual/Compiler.html#methods] don't
mention "comp_path", and the compile method does not use it directly.
This is in HTML::Mason 1.39. I've got my toys working again, but there's
either a code bug or a documentation bug here. Anyone know which?
--
-Vince Veselosky
http://www.webquills.net
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users