Data::JavaScript::Anon provides the ability to dump large simple data structures to JavaScript. That is, things that don't need to be a class, or have special methods or whatever. WWW: http://search.cpan.org/dist/Data-JavaScript-Anon/