Hello! Bravo on continuing development Claes, the E4x support looks smashing. I haven't used E4x yet in practice but I understand the theory and I am quite excited!
What I am researching right now however is database support. I do not expect you to build that into JavaScript.pm of course. All I would like is some way to access perl's DBI cpan module from Javascript. I run into problems trying to bind_class DBI and it's ilk (such as the DBI::db object returned by &DBI::connect). First of all, I am required to enumerate the methods I wish to have access too. PERL is sort of designed so that I cannot know what methods an object might have, so this is troublesome. Is there a possibility to, on request, allow pass through access to an object's methods? Maybe working sort of like PERL's own AUTOLOAD mechanism? DBI::db is espescially difficult. I can't bind as a method "DBI::db::do" because it's not a code reference. I expect it's an inherited method.. from heaven knows where. :P I'm also a trifle confused by the "constructor" requirement in bind_class. Factory built objects like the DBI::db's do not require JavaScript accessable constructors. While we're on the subject though, "DBI::db" is not a customer facing object at all! Should we not look for a way to support using that object in JavaScript without knowing for sure what sort of object it is? Tomorrow's DBI implementation could change it's name and it's not our business hard coding that. So, I would like to thank you for building an awesome Perl module, and I appreciate the difficulty of these challenges you face. I am hoping for no more than discussion of issues like these if possible. Thanks! - - Jesse Thompson http://www.webformix.com/
