in reply to javascript.pm ??
fatalsToBrowser installs new $SIG{__DIE__} to your script, thus do harm with eval codes. I guess URI module does try to require URI::javascript with eval() in vain.
-- Tatsuhiko Miyagawa miyagawa@cpan.org