Thanks for your help. This tool that I like to build is not accessible to people outside our office.
Using web based tool (CGI) a user selects a folder and once the user submits the script1 on the resulting page supposed to have a call to another script2. Script2 contains code that takes the folder name submitted and creates three additional file for each file in the folder. After script2 finishes then script1 copies files from the source machine to all the specified servers using RSYNC. -----Original Message----- From: Anders Holm [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 27, 2002 3:55 AM To: Imtiaz ahmad; [EMAIL PROTECTED] Subject: RE: executing a PERL script Hi, ok, so let's build a house of cards, and see how it holds up in the hurricane known to us all as The Net. ;) Are you really sure that this is the way you want to do this? I'm just considering the side effects, like security for instance.. Then there's also data integrity and such.. In any case, you want to have a CGI that calls a Perl script passing an argument to same. Let's call this CGI for just that, and this Perl script for script1, for clarity.. THEN you want script1 to call _another_ Perl script (script2)? I have a feeling that the list would enjoy hearing what you really want to achieve before giving any recommendations, for multiple reasons I think.... I know, I may be cynical, but in reality, what do you want to do? Build a web based virtual file server? Cheers! Best Regards Anders Holm Critical Path Technical Support Engineer ---------------------------------------------------------------------- Tel USA/Canada: 1 800 353 8437 Tel Worldwide: +1 801 736 0806 E-mail: [EMAIL PROTECTED] Internet: http://support.cp.net > -----Original Message----- > From: Imtiaz ahmad [mailto:[EMAIL PROTECTED]] > Sent: 26 June 2002 23:24 > To: [EMAIL PROTECTED] > Subject: executing a PERL script > > > Hi- > > Is it possible to pass a variable to a PERL script within a PERL > script and > then execute the PERL script? > For example, lets say we have a web page that allows you to copy > files from > one machine to other. > And, if a user select the file to be copied then the file name > and path goes > to a PERL script > and within this PERL script we need to pass the file name and the path to > another PERL script that > does bunch of other things? > > thanks. > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]