With a few days of mad hacking, this now works today:
./pugs -B JS-Perl5 -e \
'use jsperl5:DBI; use jsan:Number::Roman; ...'
(The "jsperl5:" hack is expect to go away and replaced by "perl5:" once our Parser can recognize that compilation to JS (instead of PIL) is currently in effect.)
After gaal's recent work on lexical imports (which I'll journal about later), clkao noticed that all use statements stopped exporting, so he asked me to fix this today. In return, I nudged him into finishing up SVK::View support, which implements Perforce Views (lightweight client-side branching), the one feature I missed the most when I migrated from Perforce to SVK.
Two hours later, we both finished our tasks: mine involved deleting a dozen lines of code, and his involving adding 1000+ lines. Yay for productive mini-hackathons! :-)