hi,
i just started learning perl and i'm kinda stuck....
i want to pass two querystrings from an asp page to a perl script.
ie ......cgi?&tickers=yyy&refresh=x
the script accepts the tickers by itself, but when i try to add the refresh
it says
i have a compile error, here's how its coded...
so what it does is grabs the ticker name and gets quotes for it....then
redirects
me back to the page i requested the info from with the new data.
-----------------------
my $q = new CGI;
if ($q->param('tickers')) {
my @tickers = split ' ', $q->param('tickers');
init;
getquote $q, ($tickers[0]);
}
$refresh=$q->param('refresh')
-----------------------
thanks,
pete