7 Mar
2008
7 Mar
'08
11:22 a.m.
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.