See External Modules in the HTML::Mason documentation.
How to "use" another module in perl mason?
Question
In a regular perl script you can write
use Foo::Crypt::Employee qw(foo);
at the top of your file to use the foo
subroutine throughout the rest of your script.
How can I do this in a perl mason file? Where would I put such a line of code?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow