h4ckroot has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: Ajax Table
by marto (Cardinal) on Jan 14, 2009 at 16:06 UTC
Re: Ajax Table
by Your Mother (Archbishop) on Jan 14, 2009 at 16:52 UTC

    This is actually a rather straightforward programming task but only after you know how it all works; understanding either JSON or XML, Perl data structures, and the basic mechanics of Ajax (use a library like jQuery, don't write your own from scratch). If you've never done it I'd say the chances of doing it "ASAP" are slim to none.

    Here is a small, standalone CGI + Ajax + Template -- CGI/Ajax example: lookup a value when a field is filled in. It does not meet your requirements but if you can get it running and use Firebug (a Firefox plugin) on it, you might be able to cut your learning curve down drastically. Having a working example helps a great deal when trying to learn this stuff.

Re: Ajax Table
by setebos (Beadle) on Jan 14, 2009 at 15:52 UTC
Re: Ajax Table
by dsheroh (Monsignor) on Jan 14, 2009 at 17:16 UTC
    No and yes.

    No, in that Perl runs strictly server-side, not in the user's web browser. Doing what you want will require javascript code which will run in the browser.

    Yes, in that, by using CGI::Ajax, you can do it without writing any non-Perl code yourself. CGI::Ajax allows you to write server-side Perl subs which are intended to be called by client-side javascript and then deals with the javascript glue required to make this happen for you.