RE: Is there a way in PERL ......

2003-09-11 Thread Dan Muey
> I love perl - it rocks :D) Me too. 1) they click on the banner and it takes them to index.pl. 2) index.pl needs to be something like: #!/usr/bin/perl -w use strict; my $page = ChoosePageBasedOnWhatBannerTheyClicked(); print "Location: http://somsite.com/$page\n\n";; HTH Dmuey > > Thanks

Re: Is there a way in PERL ......

2003-09-11 Thread Anadi Taylor
y yes - I love perl - it rocks :D) Thanks for all your help Anadi From: "Rob Dixon" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: Is there a way in PERL .. Date: Thu, 11 Sep 2003 14:17:08 +0100 Anadi Taylor wrote: > > I want to run a perl script that does a ch

Re: Is there a way in PERL ......

2003-09-11 Thread Janek Schleicher
Anadi Taylor wrote at Thu, 11 Sep 2003 13:05:30 +: > I want to run a perl script that does a check and depending on the results > of that check i want to run different HTML pages. > For example: if the check is positive i want to run index1.htm else I want > to run index2.htm > > can this b

Re: Is there a way in PERL ......

2003-09-11 Thread Matthew Harrison
yes you can do something like this (very quick example - not tested): my $ping = `ping -c4 | tail -n1`; chomp($ping); if ($ping =~ s/unreachable/) { print < error cannot reach machine EOF ; } else { print < ok e

Re: Is there a way in PERL ......

2003-09-11 Thread Rob Dixon
Anadi Taylor wrote: > > I want to run a perl script that does a check and depending > on the results of that check i want to run different HTML > pages. For example: if the check is positive i want to run > index1.htm else I want to run index2.htm > > can this be done ?? Hi Anadi. Almost certainl

RE: Is there a way in PERL ......

2003-09-11 Thread Paul Kraus
Yes. Without more info that's about all you get =) Paul -Original Message- From: Anadi Taylor [mailto:[EMAIL PROTECTED] Sent: Thursday, September 11, 2003 9:06 AM To: [EMAIL PROTECTED] Subject: Is there a way in PERL .. Hi Again, I want to run a perl script that does a chec

Is there a way in PERL ......

2003-09-11 Thread Anadi Taylor
Hi Again, I want to run a perl script that does a check and depending on the results of that check i want to run different HTML pages. For example: if the check is positive i want to run index1.htm else I want to run index2.htm can this be done ?? Thanks again Anadi You are just a dewdrop,