Re: Script within a script

2004-01-17 Thread Wiggins d'Anconia
Barbara Lindsey wrote: I haven't seen this before. Can you do this to add more subs to a module without making a parent module out of them? With the 'system' definitely not, it executes in a separate process completely. 'require' simply loads the code, which may or may not have subs in it. In

Re: Script within a script

2004-01-15 Thread Wiggins d Anconia
.org > - Original Message - > From: "Kenneth W. Craft MCP" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, January 14, 2004 3:06 PM > Subject: Script within a script > > > > Is it possible to execute a perl script within a

Re: Script within a script

2004-01-15 Thread Barbara Lindsey
. Craft MCP" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 14, 2004 3:06 PM Subject: Script within a script Is it possible to execute a perl script within another perl script? I have advertisements on many of my pages of my site that are randomly picked us

Re: Script within a script

2004-01-15 Thread Octavian Rasnita
You can execute that second script: require script.pl or system('perl script.pl'); - Original Message - From: "Kenneth W. Craft MCP" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 14, 2004 3:06 PM Subject: Script within a script

RE: Script within a script

2004-01-14 Thread Charles K. Clarkson
Kenneth W. Craft MCP <[EMAIL PROTECTED]> wrote: : : Is it possible to execute a perl script within another perl : script? : : I have advertisements on many of my pages of my site that : are randomly picked using a random ad script. I am creating : some pages that are dynamically being created, an

Re: Script within a script

2004-01-14 Thread Barbara Lindsey
you can make your script into a module and then call the module from another perl script. > Is it possible to execute a perl script within another perl script? > > I have advertisements on many of my pages of my site that are randomly > picked using a random ad script. I am creating some pages th

Script within a script

2004-01-14 Thread Kenneth W. Craft MCP
Is it possible to execute a perl script within another perl script? I have advertisements on many of my pages of my site that are randomly picked using a random ad script. I am creating some pages that are dynamically being created, and I can't use ssi to pull the ads into the page (right now on m