how to redirect in perl

musmanm80

Member
Joined
Sep 7, 2005
Messages
20
hi
i want to redirct from one perl script to another perl script.actually i have this scenario


login.html------->checklogin.pl-------------->add_sites.pl

i want to redirect from "checklogin.pl" to "add_sites.pl"
plz some body tell me how i can do this.i shall be very thankful to you
USman
 

Callimachus

Member
Joined
Mar 15, 2004
Messages
704
This is a bit off topic but...

within checklogin.pl you could use

system("/usr/bin/perl /path/to/my_script.pl ");

Or use the open command and start another thread.

Have a look on some of the PERL sites or Google and you should find lots of examples of calling one script from within another - as well as some cautions on securing data passed between the two.

Hope it helps.
 
This site has been archived and is no longer accepting new content.
Top