At 14:19 19.05.2001 -0700, you wrote:
>--- Jos I Boumans <[EMAIL PROTECTED]> wrote:
>
> > a good time to start modularising it to provide better and safer
> > access
>
>I though it was pretty modulerised as is. Perhaps I miss your point?
>My problem is that the output is ending up in script_log, not in the
>calling procedure.


Modularizing in this case means making those .pl scripts that you're 
including into actual modules (.pm scripts) so that they are in separate 
namespaces, and you don't them stomping all over each other's memory.  For 
now, you're not having problems, but it's a guarantee that you eventually 
will have problems setting up your scripts the way you have them now.  I 
know -- not long ago I wrote a web site management program using requires 
all through it -- I didn't know how to make a Perl module at the time.  I'm 
in the process of re-writing the whole entire program.  I learned the hard 
way that when you don't set things up in a safe way, you leave yourself 
open to all sorts of problems.

As for your problem at hand, are you sure that the two scripts you include 
do not change STDOUT in any way?  They may be redirecting your gif to the 
log file.




Aaron Craig
Programming
iSoftitler.com

Reply via email to