Posted by Peter Palfrader aka Weasel on 1999-10-12
On Tue, Oct 12, 1999 at 02:35:42AM +0200, Frank Hale wrote:
> Okay I got two perl files
> require "main.pl";
What you are doing or trying to make is not a Good Thing (tm). You
should define a sub with a well defined set of in and outputs in your
mail.pl and then call it after require-ing the file. That way you
don't risk altering variables et cetera.
--
Weasel http://www.cosy.sbg.ac.at/~ppalfrad/
PGP encrypted messages prefered. See my site or finger -l ppalfrad
A friend is someone who knows the song in your heart and
can sing it back to you when you have forgotten the words.
Sponsored by Wrox Press - www.wrox.com. Programmer to Programmer (TM)
Previous post | Next post | Timeline | Home