[aprssig] APRS PERL Script help needed
Wes Johnston
aprs at kd4rdb.com
Fri Oct 29 22:34:39 EDT 2004
I usually
$var=123;
print "http://www.abc.net/test.cgi?value=$var";
or
$string="http://www.abc.net/test.cgi?value=$var";
Note the difference between single quotes and double quotes (")... double quotes
are what you want... it gives you value=123 . single quotes would give you
EXACTLY what was in the quotes... value=$var.
Wes
--
Quoting Andrew Rich <vk4tec at tech-software.net>:
> Gents,
>
> I am trying to pass a perl variable to a cgi file
>
> Something like this
>
> http://www.abc.net/test.cgi?value=andy
>
> How do I then get test.cgi to echo // use "value" ??
>
> I have tried
>
> print "Your value is set to ".param('value')." <br> ";
>
> With not much luck
>
> How do you pass a variable via the URL to a perl // cgi ?
>
> Cheer Andrew VK4TEC
>
>
>
> _______________________________________________
> aprssig mailing list
> aprssig at lists.tapr.org
> https://lists.tapr.org/cgi-bin/mailman/listinfo/aprssig
>
More information about the aprssig
mailing list