Hi,
I have a bunch of mason scripts that call a subroutine called 'MySubroutine'. The subroutine is in a '.pm' file. It took me about two hours but I have finally realized that my 'bug' is really just Mason not reflecting the changes that I am making to this subroutine. Occasionally my changes will go into effect but I can't figure out how or when.
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?
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.