Hello, for anyone interested I produced (very small) plugin, which adds an 'is_ajax' method to you CGI::Application module. It is a syntax sugar around a check for 'X-Requested-With' header.
http://search.cpan.org/~jira/CGI-Application-Plugin-DetectAjax-0.04 ##### CGI::Application community mailing list ################ ## ## ## To unsubscribe, or change your message delivery options, ## ## visit: http://www.erlbaum.net/mailman/listinfo/cgiapp ## ## ## ## Web archive: http://www.erlbaum.net/pipermail/cgiapp/ ## ## Wiki: http://cgiapp.erlbaum.net/ ## ## ## ################################################################
