In your test.pl,

        system("test2.pl");

or 
        
        `test2.pl`;

-Bo

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Monday, January 07, 2002 1:24 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: [Perl-unix-users] Calling a Perl Program Within the Middle of
Another Perl Program


Sorry for the newbie question....but how do I include a perl program within
another perl program?

I have test.pl and I want to call within test.pl test2.pl.

Gregory J Toland
Sr. Systems Architect
CHM, Inc.
(301) 457-8058
[EMAIL PROTECTED]

_______________________________________________
Perl-Unix-Users mailing list. To unsubscribe go to
http://listserv.ActiveState.com/mailman/subscribe/perl-unix-users
_______________________________________________
Perl-Unix-Users mailing list. To unsubscribe go to 
http://listserv.ActiveState.com/mailman/subscribe/perl-unix-users

Reply via email to