in reply to LWP UserAgent

Add this line near the top of your /etc/raddb/sjpl.pl file:
use LWP::UserAgent;