Re: ENV variables in external scripts
rsg wrote:
> $Check = $CALLING_STATION_ID;
Read the Perl documentation.
> print STDERR "\t: $Check\n";
Don't do this. Executed programs should print to STDOUT. They should
NOT print to STDERR.
> $db = Mysql->connect("localhost","radius","root","");
...
> print STDERR "\t: $chk\n";
...
> And the Sql check obviously gives "n".
Which gets printed to STDERR, just like you wanted.
Alan DeKok.
This archive was generated by a fusion of
Pipermail (Mailman edition) and
MHonArc.