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
.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
. 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
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
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
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
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