Hello David,
Tuesday, June 26, 2001, David Gilden <[EMAIL PROTECTED]> wrote:
DG> Quick question,
DG> I could not get the following sub to work until
DG> I had to move $emailLog inside the sub to get this
DG> to work on the server.
DG> What did I miss or not understand?
i suggest you always to place
use strict;
at the top of your program. then, you see errors:
C:\TEMP>perl -c t.pl
Global symbol "$emailLog" requires explicit package name at t.pl line 5.
Global symbol "$errorMssg" requires explicit package name at t.pl line 41.
read more about my() and local() in perldoc perlfunc.
Best wishes,
Maxim mailto:[EMAIL PROTECTED]