RE: [cgiapp] Re: Returning XML output for AJAX

2007-02-05 Thread John Saylor
hi From: news [mailto:[EMAIL PROTECTED] On Behalf Of Robert Hicks I have read a few posts lately about XML::Simple and you do not want to use it for large amounts of data. for any big XML stuff with more than one programmer, i'd head toward XML::LibXML, faster with excellent DOM support. --

Re: [cgiapp] Re: CA::Dispatch

2007-02-05 Thread Michael Peters
Robert Hicks wrote: Do I simple add to my instance script: use AbramsRest::Dispatch; AbramsRest::Dispatch-dispatch(); No, that doesn't get added to your instance script, it becomes your instance script. Dispatch was designed to replace multiple instance scripts and combine them all into

[cgiapp] Re: CA::Dispatch

2007-02-05 Thread Robert Hicks
Michael Peters wrote: Robert Hicks wrote: Do I simple add to my instance script: use AbramsRest::Dispatch; AbramsRest::Dispatch-dispatch(); No, that doesn't get added to your instance script, it becomes your instance script. Dispatch was designed to replace multiple instance scripts and

[cgiapp] How do you use your own modules?

2007-02-05 Thread Robert Hicks
I currently have: use lib qw( lib/ ); # all my modules are under here I have been told elsewhere that that is bad form and a full path should be used there instead of a relative one. I currently use Cwd to tell me what my path is so that I can load the appropriate config file. If I hard

Re: [cgiapp] Re: [?? Probable Spam] [cgiapp] [slightly OT] modifying a main page from a popup

2007-02-05 Thread Sean Davis
On Sunday 04 February 2007 15:12, Ron Savage wrote: On Sun, 04 Feb 2007 14:27:23 -0500, Sean Davis wrote: Hi Sean If the relation doesn't exist, I would like to open a popup to allow the user to create the object--no problem here. However, on submission of that object, I would like to

Re: [cgiapp] How do you use your own modules?

2007-02-05 Thread Nathan L. Walls
On Feb 5, 2007, at 11:58 AM, Robert Hicks wrote: I currently have: use lib qw( lib/ ); # all my modules are under here I have been told elsewhere that that is bad form and a full path should be used there instead of a relative one. My company tends to use environment variables which

Re: [cgiapp] How do you use your own modules?

2007-02-05 Thread Michael Peters
Nathan L. Walls wrote: My company tends to use environment variables which allows us to set it as part of our shell profile and in Apache. use lib $ENV{CODEBASE}/common/lib/perl; Which is nice since our sandbox locations aren't the same paths as production. That's pretty much the same