Lo all,

Snipette from the perl code...
$RAD_REPLY{'Recv-Limit'} = $BytesAvail - $BytesUsed;
$RAD_REPLY{'Xmit-Limit'} = $BytesAvail - $BytesUsed;
$RAD_REPLY{'Reply-Message'} = "You have " . $za->format_bytes($BytesAvail - $BytesUsed) . " available.";


Righty.

$za->format_bytes return 20M (20MB), and is inside hash, returned to FR. Recv-Limit and Xmit-Limit never makes it to the hash. If I assign actual NUMBERS (not via a variable) to the attributes, then they make it without any problems...

i.e.
       $RAD_REPLY{'Recv-Limit'} = "20971520";
       $RAD_REPLY{'Xmit-Limit'} = "20971520";
works.
       $RAD_REPLY{'Recv-Limit'} = $BytesAvail - $BytesUsed;
       $RAD_REPLY{'Xmit-Limit'} = $BytesAvail - $BytesUsed;
doesn't work.

So, what am I doing wrong? It must be something really silly, but for the love of (you know who), I just can't seem to get it to work.

--
Chris.



-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to