note
themage
Hi Ronnie,
<br><br>
Once you already have the <c>use ACC_Various qw(... update_report ...);</c> line in your use, you don't need to prefix the update_report call with the ACC_Various.
<br><br>
Anyway, you are calling it the wrong way (I presume it was a typo, as it would give you a syntax error as is - at least in perl 5.8). To call ACC_Various with the prefix you can do it using two diferent ways:
<c>
ACC_Various::update_report(...);
&ACC_Various::update_report(...);
</c>
As you have the use importing the update_report, you can also call it with:
<c>
update_report(...);
</c>
<b>Update:</b> As the error message is about <c>Undefined subroutine &ACC_Heather::update_report</c> I would say that your use is not doing the expected, or that you are not adding <c>update_report</c> to <c>our @EXPORT</c> or <c>our @EXPORT_OK</c> in <c>ACC_Various</c>.
<br><br>
Hope this clarifies your questions.
<br><br>
<!-- Node text goes above. Div tags should contain sig only -->
<div class="pmsig"><div class="pmsig-273763">
TheMage<br>
[http://www.talking-web.org|Talking Web]
</div></div>
588294
588294