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. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html