> 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
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
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
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
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
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
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,