Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
The Mason scripts use the subroutine like this:
use MySubroutine;
The subroutine file is called 'MySubroutine.pm' and the first few lines of the file look like this:
package MySubroutine; use Exporter(); use DBI; @ISA = qw(Exporter); @EXPORT = qw(MySubroutine); sub MySubroutine { ... } 1;
I am new to Mason and have never had a problem like this with my previous experience in perl. Any suggestions?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Mason subroutine not relefecting changes
by Paladin (Vicar) on Mar 13, 2007 at 22:41 UTC | |
by Anonymous Monk on Mar 13, 2007 at 22:48 UTC | |
by Joost (Canon) on Mar 14, 2007 at 00:03 UTC | |
|
Re: Mason subroutine not relefecting changes
by fmerges (Chaplain) on Mar 13, 2007 at 23:36 UTC |