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?


Octavian Rasnita wrote:
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




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 my main page I use <!--#exec cgi --> to call the ad
scripts.

Thanks


--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.558 / Virus Database: 350 - Release Date: 1/2/2004



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>







-- Barbara E. Lindsey, COG RDC Phone: (352) 392-5198 ext. 314 Fax: (352) 392-8162

----
CONFIDENTIALITY NOTICE: The information contained in this electronic message is legally privileged and confidential and intended only for the use of the individual(s) or entity(ies) named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this email or any of it's components is strictly prohibited. If you have received this email in error, please contact the sender.
----



-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to