Re: [cgiapp] LinkIntegrity vs ValidateQuery plugin?

2009-04-16 Thread Ron Savage
, no matter what db record they point to. At the same time, in the session, I save another map which reverts that 1 .. N to the 'real' id of each item. OK, so it doesn't protest against everything, but it helps validation. I did not put the logic in a separate module yet. -- Ron Savage r

Re: [cgiapp] Ajax and JSON recipe

2009-04-11 Thread Ron Savage
, install YUI (it's just a matter of unzipping it), and start reading Connection Manager, which is their name for Ajax. Try the demos, etc, etc. Also, tell us a bit about your test env. I run Apache myself, but do use mod_perl except on rare occasions. I do use FCGI::ProcManager. -- Ron Savage r

Re: [cgiapp] Ajax and JSON recipe

2009-04-11 Thread Ron Savage
Hi Lyle I've written a new module, CGI::Application::Demo::Ajax, which is a small search engine to retrieve records via Ajax and Json. I'll document it next and release it to CPAN. -- Ron Savage r...@savage.net.au http://savage.net.au/index.html # CGI::Application community mailing list

Re: [cgiapp] Double session use for CAP::Session

2009-03-19 Thread Ron Savage
that id. -- Ron Savage r...@savage.net.au http://savage.net.au/index.html # CGI::Application community mailing list #### ## To unsubscribe, or change your message delivery options, ## ## visit: http

Re: [cgiapp] New to working with CGI::App and OO perl. Testing under mod_perl. The old inconsistent data with reloads problem.

2009-03-19 Thread Ron Savage
. Vague guideline: o Create Physical object. o In its constructor, create db handle etc which are local to the Physical object. o Hence, let the lifetime of the Physical object control the lifetime of that object's attributes. -- Ron Savage r...@savage.net.au http://savage.net.au/index.html

Re: [cgiapp] Intermittent problem with sessions when redirecting

2009-03-07 Thread Ron Savage
bitten by this one. And while I think of it. I emailed Lincoln years ago about misprints in this book, and he made it clear to me he would never deal with Wiley again. He despises them for the low standard of their proof-reading. -- Ron Savage r...@savage.net.au http://savage.net.au/index.html

Re: [cgiapp] Apache 1.3 vs Apache 2.2

2009-03-06 Thread Ron Savage
is or was, it has effectively been pushed into obsolesence by V 2. And yes, people will go on using it (V 1) for years. That's a testament to it's quality. But that's not, IMHO, a reason for new projects to adopt it. -- Ron Savage r...@savage.net.au http://savage.net.au/index.html # CGI

Re: [cgiapp] Re: [OT] HTML::Parser::PurePerl

2009-03-06 Thread Ron Savage
there are enough XML-oriented tools available to do this. I don't see it as the role of either HTML::Parser::Simple or Data::FormValidator::*. -- Ron Savage r...@savage.net.au http://savage.net.au/index.html # CGI::Application community mailing list

Re: [cgiapp] [OT] HTML::Parser::Simple is on github

2009-03-06 Thread Ron Savage
Hi Terrance On Wed, 2009-03-04 at 07:49 +1100, Ron Savage wrote: Hi Terrence On Tue, 2009-03-03 at 15:29 -0500, Terrence Brannon wrote: Just as an FYI, XML::Smart::HTMLParser http://search.cpan.org/~gmpassos/XML-Smart-1.6.9/ appears to be pure perl. Unfortunately, the author

Re: [cgiapp] [OT] HTML::Parser::Simple is on github

2009-03-03 Thread Ron Savage
. Thanx for this. I had never heard of this module. I shall investigate. -- Ron Savage r...@savage.net.au http://savage.net.au/index.html # CGI::Application community mailing list #### ## To unsubscribe

[cgiapp] [OT] HTML::Parser::Simple is on github

2009-03-01 Thread Ron Savage
Hi Folks git://github.com/ronsavage/html--parser--simple.git -- Ron Savage r...@savage.net.au http://savage.net.au/index.html # CGI::Application community mailing list #### ## To unsubscribe, or change your

Re: [cgiapp] Re: [OT] HTML::Parser::PurePerl

2009-02-26 Thread Ron Savage
Hi Mark On Wed, 2009-02-25 at 12:25 -0500, Mark Stosberg wrote: On Tue, 24 Feb 2009 16:35:36 +1100 Ron Savage r...@savage.net.au wrote: Hi Folks Uploaded HTML::Parser::Simple to CPAN. See the FAQ for why the name HTML::Parser::PurePerl was not used. This is great! $many x

Re: [cgiapp] Re: [OT] HTML::Parser::PurePerl

2009-02-26 Thread Ron Savage
it is impossible to support. [1] http://www.w3.org/TR/2002/REC-xhtml1-20020801/ -- Ron Savage r...@savage.net.au http://savage.net.au/index.html # CGI::Application community mailing list #### ## To unsubscribe

Re: [cgiapp] Re: [OT] HTML::Parser::PurePerl

2009-02-24 Thread Ron Savage
Hi Folks Uploaded HTML::Parser::Simple to CPAN. See the FAQ for why the name HTML::Parser::PurePerl was not used. -- Ron Savage r...@savage.net.au http://savage.net.au/index.html # CGI::Application community mailing list

Re: [cgiapp] Re: [OT] HTML::Parser::PurePerl

2009-02-24 Thread Ron Savage
Hi Lyle On Tue, 2009-02-24 at 16:12 +, Lyle wrote: Ron Savage wrote: Hi Folks Uploaded HTML::Parser::Simple to CPAN. See the FAQ for why the name HTML::Parser::PurePerl was not used. Good stuff :) Although after looking through the pod I can't see immediately how

Re: [cgiapp] Re: [OT] HTML::Parser::PurePerl

2009-02-19 Thread Ron Savage
Hi Mark On Thu, 2009-02-19 at 11:40 -0500, Mark Stosberg wrote: On Thu, 19 Feb 2009 13:54:44 +1100 Ron Savage r...@savage.net.au wrote: Hi Folks OK. I've got this going, but it just reads and writes files. I'm thinking of storing the tags in a tree, thereby allowing a visit

Re: [cgiapp] Re: [OT] HTML::Parser::PurePerl

2009-02-19 Thread Ron Savage
Hi Lyle On Fri, 2009-02-20 at 00:07 +, Lyle wrote: Hi Ron, Ron Savage wrote: Tree, for example, uses Scalar::Util, which uses List::Util, which uses XS. I've drawn similar wrong conclusions several times before. List::Util drops back to Pure Perl if XS is not available

Re: [cgiapp] Re: HTML::FillInForm maintanence, patch idea

2009-02-17 Thread Ron Savage
Hi Folks Let's start looking around for a pure-X (X != Perl) parser, and adapt that. How about: http://ejohn.org/blog/pure-javascript-html-parser/ I've decided to waste a few days, starting now, converting this to Perl. The module is tentatively called HTML::Parser::PurePerl. -- Ron

Re: [cgiapp] Re: HTML::FillInForm maintanence, patch idea

2009-02-14 Thread Ron Savage
, and downloadered Philip's code, but make fails. I've emailed him to see if there is a newer version available. -- Ron Savage r...@savage.net.au http://savage.net.au/index.html # CGI::Application community mailing list

Re: [cgiapp] mod_perl vs. FastCGI

2009-02-08 Thread Ron Savage
/002_basic_with_listen Failed 3/17 subtests t/003_basic_with_options...ok t/010_errors...ok t/020_basic_manager1/19 ^Cmake: *** [test_dynamic] Interrupt -- Ron Savage r...@savage.net.au http://savage.net.au/index.html # CGI::Application community mailing list

Re: [cgiapp] Re: HTML::FillInForm maintanence, patch idea

2009-02-07 Thread Ron Savage
with this. The only pure-perl HTML parser is HTML::TagParser. It works very differently to HTML::Parser and has no Let's start looking around for a pure-X (X != Perl) parser, and adapt that. -- Ron Savage r...@savage.net.au http://savage.net.au/index.html # CGI::Application community mailing list

Re: [cgiapp] Re: HTML::FillInForm maintanence, patch idea

2009-02-07 Thread Ron Savage
Hi Ron On Sun, 2009-02-08 at 10:53 +1100, Ron Savage wrote: Hi Folks On Fri, 2009-02-06 at 19:10 +, Lyle wrote: Mark Stosberg wrote: I have some interest in a pure-perl FillInForm to support a more portable Titanium distribution. The trick there is finding a suitable

Re: [cgiapp] Re: HTML::FillInForm maintanence, patch idea

2009-02-07 Thread Ron Savage
Hi Ron On Sun, 2009-02-08 at 10:58 +1100, Ron Savage wrote: Hi Ron On Sun, 2009-02-08 at 10:53 +1100, Ron Savage wrote: Hi Folks On Fri, 2009-02-06 at 19:10 +, Lyle wrote: Mark Stosberg wrote: I have some interest in a pure-perl FillInForm to support a more portable

Re: [cgiapp] Re: HTML::FillInForm maintanence, patch idea

2009-02-07 Thread Ron Savage
tempting :-). -- Ron Savage r...@savage.net.au http://savage.net.au/index.html # CGI::Application community mailing list #### ## To unsubscribe, or change your message delivery options, ## ## visit: http

Re: [cgiapp] [Fwd: Re: ValidateRM not PP]

2009-01-25 Thread Ron Savage
on a time-bomb. -- Ron Savage r...@savage.net.au http://savage.net.au/index.html # CGI::Application community mailing list #### ## To unsubscribe, or change your message delivery options, ## ## visit: http

Re: [cgiapp] [Fwd: Re: ValidateRM not PP]

2009-01-25 Thread Ron Savage
on a partial, client-side, solution. So, weigh up the constaints, programmer time available, priorities, etc, and go for it! -- Ron Savage r...@savage.net.au http://savage.net.au/index.html # CGI::Application community mailing list

[cgiapp] Strawberry Perl and mod_perl

2009-01-18 Thread Ron Savage
Hi Folks Is anyone using Strawberry Perl with mod_perl compiled into Apache? If so, how did you compile Apache + mod_perl with Strawberry Perl? -- Ron Savage r...@savage.net.au http://savage.net.au/index.html # CGI::Application community mailing list

Re: [cgiapp] Strawberry Perl and mod_perl

2009-01-18 Thread Ron Savage
Hi Lyle On Mon, 2009-01-19 at 01:26 +, Lyle wrote: Ron Savage wrote: Hi Folks Is anyone using Strawberry Perl with mod_perl compiled into Apache? If so, how did you compile Apache + mod_perl with Strawberry Perl? Personally I'd opt for using FastCGI rather than mod_perl so

[cgiapp] Module-Starter-Plugin-CGIApp-0.10

2009-01-17 Thread Ron Savage
Hi Folks I tested this with Strawberry Perl V 5.10.0, using both Build.PL and Makefile.PL, and all tests passed. -- Ron Savage r...@savage.net.au http://savage.net.au/index.html # CGI::Application community mailing list

Re: [cgiapp] Windows Environment Setup

2009-01-16 Thread Ron Savage
Hi Jaldhar You know what? You should wrap this and any other IIS quirks into a CGI::Application::Plugin::IIS and upload it to CPAN. The wrapper is called Debian. Hahahahahahahahahahahahahaha. -- Ron Savage r...@savage.net.au http://savage.net.au/index.html # CGI::Application

Re: [cgiapp] Re: CGI::Application::Dispatch help

2009-01-16 Thread Ron Savage
/Phase1 was not found on this server. httpd.conf contains: Location /test.dispatch SetHandler perl-script PerlResponseHandler CGI::Application::Test::Dispatcher Order deny,allow Deny from all Allow from 127.0.0.1 /Location More later. -- Ron Savage r

Re: [cgiapp] [Announce] Module-Starter-Plugin-CGIApp 0.08

2009-01-10 Thread Ron Savage
just wasting our time until you can reproduce these errors on your machine. -- Ron Savage r...@savage.net.au http://savage.net.au/index.html # CGI::Application community mailing list #### ## To unsubscribe

Re: [cgiapp] Help requested with Windows debugging of Module::Starter::Plugin::CGIApp

2009-01-07 Thread Ron Savage
-CGIApp-0.07.tar.gz Running Build install make test had returned bad status, won't install without force C:\temp -- Ron Savage r...@savage.net.au http://savage.net.au/index.html # CGI::Application community mailing list

Re: [cgiapp] Happy New Year

2008-12-31 Thread Ron Savage
Hi Folks On Wed, 2008-12-31 at 21:22 -0600, Jesse Erlbaum wrote: Happy New Year, everybody! Happy new year from the real world, and may all your bugs be someone else's... -- Ron Savage r...@savage.net.au http://savage.net.au/index.html # CGI::Application community mailing list

Re: [cgiapp] Re: OO MVC jumpstart/starter application

2008-12-22 Thread Ron Savage
Hi Bill On Mon, 2008-12-22 at 13:08 -0600, Bill Stephenson wrote: I'll be getting the OO MVC jumpstart/starter application soon and I'm looking forward to learning from it. This may help: http://search.cpan.org/~rsavage/CGI-Application-Demo-1.03/ -- Ron Savage r...@savage.net.au http

Re: [cgiapp] [OT] Any suggestions for a HTML prettyprinter?

2008-12-10 Thread Ron Savage
Hi Ron On Mon, 2008-12-08 at 10:52 +1100, Ron Savage wrote: Hi Folks I've been looking at HTML::FormatText and HTML::PrettyPrinter, but what I'm thinking of is output as HTML, using CSS. I wrote HTML::Revelation to do this. It's just been uploaded to CPAN. Sample: http://savage.net.au/Perl

[cgiapp] [OT] Any suggestions for a HTML prettyprinter?

2008-12-07 Thread Ron Savage
Hi Folks I've been looking at HTML::FormatText and HTML::PrettyPrinter, but what I'm thinking of is output as HTML, using CSS. Any ideas? -- Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html # CGI::Application community mailing list

Re: [cgiapp] [announce] OO MVC jumpstart/starter application

2008-12-04 Thread Ron Savage
://perlmvccgiapp.sourceforge.net/ as is a working demo (don't expect much): http://perlmvccgiapp.sourceforge.net/cgi-bin/app1/main.cgi That's a massive effort. Well done. I'll have to study it... -- Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html # CGI::Application community

Re: [cgiapp] [announce] OO MVC jumpstart/starter application

2008-12-04 Thread Ron Savage
assumptions as to which directory their script thinks is the current directory when it starts. More here: http://perl.apache.org/docs/2.0/user/porting/compat.html#C_Apache__Registry___C_Apache__PerlRun__and_Friends -- Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html # CGI

Re: [cgiapp] [announce] OO MVC jumpstart/starter application

2008-12-04 Thread Ron Savage
the MD5 version of all possible passwords of a given length. -- Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html # CGI::Application community mailing list #### ## To unsubscribe, or change your message

Re: [cgiapp] [announce] OO MVC jumpstart/starter application

2008-12-04 Thread Ron Savage
or SHA1 version of it, if someone were to intercept any of those they could replay the interception (without caring about the hashing technique). If you wish to avoid that, use https. Or, if you wish to simply disguise the password, use SHA1. -- Ron Savage [EMAIL PROTECTED] http://savage.net.au

Re: [cgiapp] [announce] OO MVC jumpstart/starter application

2008-12-04 Thread Ron Savage
Hi Mark On Thu, 2008-12-04 at 22:21 -0500, Mark Rajcok wrote: On Thu, Dec 4, 2008 at 5:43 PM, Ron Savage [EMAIL PROTECTED] wrote: The first thing I'd say is about user.cgi: 1) You talk about changing the value of $PRIVATE_HOME_DIR I would use a config file, and have the 2 values

[cgiapp] [OT] Announce: CGI::Uploader V 2.90_01

2008-11-30 Thread Ron Savage
with a dev-type version number until people have had a chance to test it out. -- Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html # CGI::Application community mailing list #### ## To unsubscribe, or change

Re: [cgiapp] Testing harness for non-CGI::App code

2008-11-26 Thread Ron Savage
Hi Michael On Wed, 2008-11-26 at 09:12 -0500, Michael Peters wrote: Ron Savage wrote: Is Test::WWW::Mechanize the most appropriate harness for testing CGI (but not CGI::Application) code? I love T::W::M (used with Test::HTML::Content). But why limit yourself to just normal CGI

[cgiapp] Testing harness for non-CGI::App code

2008-11-25 Thread Ron Savage
Hi Folks Is Test::WWW::Mechanize the most appropriate harness for testing CGI (but not CGI::Application) code? -- Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html # CGI::Application community mailing list

Re: [cgiapp] Re: Problem with Flash, Session persistent environment identified

2008-11-23 Thread Ron Savage
, for example. The ideal situation would be for the POD to be restructured to have an FAQ, but I don't think it's worth that much effort. Maybe later. -- Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html # CGI::Application community mailing list

Re: [cgiapp] Problem with Flash, Session persistent environment identified

2008-11-21 Thread Ron Savage
there is something in there that causes the session to be retained in a persistent env? Nice piece of detective work. Well done. It's possible that one of the Titanium mods is also causing the failure of AutoRunmode to work under mod_perl for me, but that's another issue. -- Ron Savage [EMAIL

Re: [cgiapp] Re: Problem with Flash, Session persistent environment identified

2008-11-21 Thread Ron Savage
be able to catch fewer errors in that case, bout would avoid the global DIE signal handler. Is that also something to include in the doc patch for CGI::Session? -- Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html # CGI::Application community mailing list

Re: [cgiapp] Problem with Flash, Session persistent environment identified

2008-11-21 Thread Ron Savage
to be retained in a persistent env? Just found another one: CAP::DebugScreen Please publish the exact version numbers of the modules you have problems with. Actually, that applies to everyone who's found something odd during this thread. -- Ron Savage [EMAIL PROTECTED] http://savage.net.au

Re: [cgiapp] Re: Problem with Flash, Session persistent environment identified

2008-11-21 Thread Ron Savage
the hard way myself. It's called The Human Condition: http://en.wikipedia.org/wiki/Human_Condition -- Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html # CGI::Application community mailing list

Re: [cgiapp] Re: Problem with Flash, Session persistent environment identified (Fix released)

2008-11-21 Thread Ron Savage
and cannot trigger this. Right. -- Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html # CGI::Application community mailing list #### ## To unsubscribe, or change your message delivery options

Re: [cgiapp] Problem with Flash, Session persistent environment identified

2008-11-21 Thread Ron Savage
Hi Folks Here the new text: http://savage.net.au/Session.html#A_Warning_about_Auto_flushing -- Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html # CGI::Application community mailing list

Re: [cgiapp] CAP::Authentication not working properly with CAP::Session

2008-11-20 Thread Ron Savage
Hi Richard On Thu, 2008-11-20 at 09:28 +, Richard Jones wrote: Ron Savage wrote: Hi Richard One thing to investigate: http://rt.cpan.org/Public/Bug/Display.html?id=17299 See the comment I added on Mon Oct 27 01:10:00 2008. Hi Ron, Yes, lots of info there about

Re: [cgiapp] CAP::Authentication not working properly with CAP::Session

2008-11-20 Thread Ron Savage
a ref of it. -- Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html # CGI::Application community mailing list #### ## To unsubscribe, or change your message delivery options, ## ## visit: http

Re: [cgiapp] CAP::Authentication not working properly with CAP::Session

2008-11-20 Thread Ron Savage
one. It's making my head hurt! It works perfectly for me, and guess what? I not (that's NOT) using TT. I'm using HTML::Template. I call $flash - dump() before and after calling has_key(...) and get(...) in a loop (since I tested with 2 keys), and the output is perfect. -- Ron Savage [EMAIL

Re: [cgiapp] CAP::Authentication not working properly with CAP::Session

2008-11-20 Thread Ron Savage
it underneath the FOREACH block then I get output from both. And if I put it above and below, I only get output from the top one. It's making my head hurt! I should have said, the demo so far uses cookies and CGI, no mod_perl. -- Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html # CGI

Re: [cgiapp] CAP::Authentication not working properly with CAP::Session

2008-11-20 Thread Ron Savage
it underneath the FOREACH block then I get output from both. And if I put it above and below, I only get output from the top one. It's making my head hurt! Also, I'm not using flush either for the session or that flash. -- Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html # CGI

Re: [cgiapp] CAP::Authentication not working properly with CAP::Session

2008-11-20 Thread Ron Savage
:-). -- Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html # CGI::Application community mailing list #### ## To unsubscribe, or change your message delivery options, ## ## visit: http

Re: [cgiapp] CAP::Authentication not working properly with CAP::Session

2008-11-20 Thread Ron Savage
. Or there may be another package which can be told not to serialize circular structures, but to die. -- Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html # CGI::Application community mailing list

Re: [cgiapp] CAP::Authentication not working properly with CAP::Session

2008-11-18 Thread Ron Savage
Hi Richard One thing to investigate: http://rt.cpan.org/Public/Bug/Display.html?id=17299 See the comment I added on Mon Oct 27 01:10:00 2008. -- Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html # CGI::Application community mailing list

Re: [cgiapp] cached DBI connections with cgiapp/fastcgi

2008-10-23 Thread Ron Savage
, then perhaps it's time to ask for our help on how to do that :-). -- Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html # CGI::Application community mailing list #### ## To unsubscribe, or change your

Re: [cgiapp] Model design in C::A/Titanium

2008-10-22 Thread Ron Savage
component in a MVC structure. I've just never bothered adding that sort of complexity. The formatting - such as it is - takes place right in the controller, my Person.pm. -- Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html # CGI::Application community mailing list

Re: [cgiapp] Model design in C::A/Titanium

2008-10-22 Thread Ron Savage
Hi Mark On Wed, 2008-10-22 at 22:35 -0400, Mark Rajcok wrote: On Tue, Oct 21, 2008 at 7:45 PM, Ron Savage [EMAIL PROTECTED] wrote: [snip] But why /exactly/ is it growing? Ron, I wasn't too clear about who I was quoting. Richard Jones had the growing Model class, so he would need

Re: [cgiapp] [OT] Anyone using JSON::XS to output to a web page?

2008-10-13 Thread Ron Savage
Peter's suggestion and use their wrapper around eval: http://developer.yahoo.com/yui/json/ -- Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html # CGI::Application community mailing list

Re: [cgiapp] [OT] Anyone using JSON::XS to output to a web page?

2008-10-11 Thread Ron Savage
the original of the YUI code. See their reference at: http://developer.yahoo.com/yui/json/ Anyway, $many x $thanx; -- Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html # CGI::Application community mailing list

Re: [cgiapp] [OT] Anyone using JSON::XS to output to a web page?

2008-10-11 Thread Ron Savage
want http://developer.yahoo.com/yui/json/ I sure do. $many x $thanx; This has been very informative for me. I'll post some of what I've learned over the next few days, probably on 'use Perl', with a reference to that on this mailing list. -- Ron Savage [EMAIL PROTECTED] http://savage.net.au

Re: [cgiapp] [OT] Anyone using JSON::XS to output to a web page?

2008-10-10 Thread Ron Savage
Hi Peter Thanx for the quick reply. On Fri, 2008-10-10 at 20:17 -0500, Peter Karman wrote: Ron Savage wrote on 10/10/08 7:48 PM: Hi Folks I'm using YUI (Yahoo User Interface) to display JSON data hard-coded in the web page. But when I send the data from my CGI::App

Re: [cgiapp] Re: Combining DBIx::Simple and CGI::Session

2008-10-01 Thread Ron Savage
own garbage collection, and you are encouraged to not mess that up, which shouldn't be too hard. Recommendations? My recommendation is to share the handle between DBIx::Simple and CGI::Simple and test that your application doesn't blow up. OK. Thanx for checking. -- Ron Savage [EMAIL

[cgiapp] Combining DBIx::Simple and CGI::Session

2008-09-30 Thread Ron Savage
, what to people do? Use 2 handles, 1 via DBIx::Simple for all normal queries, and 1 via DBI just for use with CGI::Session? -- Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html # CGI::Application community mailing list

Re: [cgiapp] Combining DBIx::Simple and CGI::Session

2008-09-30 Thread Ron Savage
Hi Ron On Wed, 2008-10-01 at 12:33 +1000, Ron Savage wrote: Hi Folks The docs for DBIx::Simple cleary warn about using the dbh() method to get the db handle for use outside DBIx::Simple. And yet, with CGI::Session, if I pass in a handle (returned from DBIx::Simple or otherwise), I know

Re: [cgiapp] ($self vs $c) was: Re: New Plugin: RunmodeDeclare

2008-09-28 Thread Ron Savage
Hi Folks I'll toss in one vote for $self being much less Surprising, both to me and to folks with whom I'm sharing code. Yep. $self for me. -- Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html # CGI::Application community mailing list

Re: [cgiapp] Question | Poll - Preferred ORM.

2008-09-27 Thread Ron Savage
complex. Would you like to see a new ORM in cpan, more simpler? No. We have Class::DBI for that. Indeed - and many others, too many. It's very difficult to choose already, without spending a lot of time trying a few, and even harder for beginners. -- Ron Savage [EMAIL PROTECTED] http

Re: [cgiapp] CAP::Authentication Rose::DB

2008-09-11 Thread Ron Savage
not doing exactly that, but firstly I'd suggest check the Rose::DB docs for the method retain_dbh(), just in case it's relevant. -- Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html # CGI::Application community mailing list

Re: [cgiapp] Solved: Problem displaying French, sometimes

2008-09-10 Thread Ron Savage
, never produces this error. I does mean I'm deeply uneasy about YUI, though. (8) Background reading: http://www.oreillynet.com/onlamp/blog/2005/10/repeat_after_me_lack_of__outpu.html Hint: This would make a good addition to the wiki. -- Ron Savage [EMAIL PROTECTED] http://savage.net.au

Re: [cgiapp] Problem displaying French, sometimes

2008-09-09 Thread Ron Savage
”TE D'IVOIRE (7) Buy h-bomb on ebay. kill $self. After all, what's the point :-(. -- Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html # CGI::Application community mailing list #### ## To unsubscribe

Re: [cgiapp] Problem displaying French, sometimes

2008-09-09 Thread Ron Savage
not tried these 2 yet, but I will today. -- Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html # CGI::Application community mailing list #### ## To unsubscribe, or change your message delivery options

Re: [cgiapp] Problem displaying French, sometimes

2008-09-09 Thread Ron Savage
bytes] Could not open file! at ./test_utf8.pl line 47. Line 47 is: open (DATA, :utf8, test_utf8.txt) or die(Could not open file!); OK so far? -- Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html # CGI::Application community mailing list

Re: [cgiapp] Problem displaying French, sometimes

2008-09-07 Thread Ron Savage
:03.887059 3 chars? WTF? The code is: $self - log($_ - name() . '. Encoding: ' . DBI - data_string_desc($_ - name() ) ); What character set is your database using? My code uses 'PerlSetEnv PGCLIENTENCODING LATIN1' to set the client character set encoding. -- Ron Savage [EMAIL PROTECTED] http

Re: [cgiapp] Problem displaying French, sometimes

2008-09-07 Thread Ron Savage
Hi Peter On Sat, 2008-09-06 at 20:49 -0500, Peter Karman wrote: Ron Savage wrote on 9/5/08 7:51 PM: Hi Folks Here is the set up (details below): o An fcgid scripts calls... o A module based on CGI::Application::Dispatch, which calls... o My module, which reads country names from

[cgiapp] Problem displaying French, sometimes

2008-09-06 Thread Ron Savage
; (7) mod_perl activity, failing when called as: http://127.0.0.1/test/sites (8) My module: package Local::Sites::Test::Sites; # Author: # Ron Savage [EMAIL PROTECTED] use base 'CGI::Application'; use locale; use strict; use warnings FATAL = 'all', NONFATAL = 'redefine'; use CGI::Simple

Re: [cgiapp] Location not found with CGI::Application::Dispatch under mod_perl V 2

2008-09-02 Thread Ron Savage
Hi Michael On Mon, 2008-09-01 at 10:06 -0400, Michael Peters wrote: Ron Savage wrote: use CGI::Application::Plugin::Apache; Just a word of warning about C::A::P::Apache. The idea was that $self-query would return an Apache::Request object instead of a CGI.pm object. This would make

Re: [cgiapp] Location not found with CGI::Application::Dispatch under mod_perl V 2

2008-09-02 Thread Ron Savage
need to /always/ make the effort to submit bug reports. -- Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html # CGI::Application community mailing list #### ## To unsubscribe, or change your message

Re: [cgiapp] Location not found with CGI::Application::Dispatch under mod_perl V 2

2008-09-02 Thread Ron Savage
into a module name or can't find the module. Problem solved. I had another Location /local container further down in httpd.conf. Ooops, sorry about that. -- Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html # CGI::Application community mailing list

[cgiapp] Location not found with CGI::Application::Dispatch under mod_perl V 2

2008-08-31 Thread Ron Savage
/1.1 404 209 Is the problem that the docs for CGI::Application::Dispatch are Apache V1 oriented, and that something different needs to be done for V2? -- Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html # CGI::Application community mailing list

Re: [cgiapp] Losing params - wtf is wrong??

2008-08-15 Thread Ron Savage
struture of $profile. -- Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html # CGI::Application community mailing list #### ## To unsubscribe, or change your message delivery options, ## ## visit: http

Re: [cgiapp] htree - building static HTML pages from templates

2008-07-20 Thread Ron Savage
of all alternatives so as to be able to make a well-informed choice. -- Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html # CGI::Application community mailing list #### ## To unsubscribe, or change your

Re: [cgiapp] Web pages from CGI

2008-07-20 Thread Ron Savage
update the first page, and have JavaScript on that page update the other page, if such a thing even works. -- Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html # CGI::Application community mailing list

Re: [cgiapp] Application params problem

2008-07-10 Thread Ron Savage
context: .Dumper($h).\n; This is just a guess of course. I don't expect to make a difference. Apart from that, my only other guess would be you've deleted (just to post) some line of code with affects things. -- Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html # CGI

Re: [cgiapp] bug report: 'make test' fails when $HEADERS_ONCE of CGI.pm globals modified

2008-07-07 Thread Ron Savage
under certain conditions. So, nope, not our problem. -- Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html # CGI::Application community mailing list #### ## To unsubscribe, or change your message

[cgiapp] Announce: Rose::DBx::Bouquet and CGI::Application::Bouquet::Rose

2008-06-26 Thread Ron Savage
deems it unsuitable. -- Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html # CGI::Application community mailing list #### ## To unsubscribe, or change your message delivery options, ## ## visit: http

Re: [cgiapp] Re: HTML::Template vs Template::Alloy

2008-06-21 Thread Ron Savage
Hi Mark I hadn't noticed Template::Alloy before. It does like interesting as an option that is like HTML::Template with the dot notation, but faster. For me, Template::Alloy hung during make test, so I gave up trying to use it. -- Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html

Re: [cgiapp] Re: catalyst.pl for CGI::App? Yes: Module::Starter::Plugin::CGIApp

2008-06-18 Thread Ron Savage
table, but no CRUD yet. I will be shipping a FCGID app too. All generated code uses HTML::Template-style templates. Rose::DBx::Garden can be used instead of Rose::DBx::Bouquet, with some small changes in the templates. Just hold your breath. -- Ron Savage [EMAIL PROTECTED] http://savage.net.au

Re: [cgiapp] redirect/content type

2008-06-11 Thread Ron Savage
) = $self - build_staff_list_data($entity_id, 1); $self - header_type('none'); print Content-Disposition: attachment; filename = staff-list.csv\n\n; print map{join(',', map{qq|$$_{'td'}|} @{$$_{'td_loop'} }) . \n} @$data; return ''; } # End of download_staff_list. -- Ron Savage [EMAIL

Re: [cgiapp] CAP::FormState equivalent?

2008-06-03 Thread Ron Savage
Hi Richard It looks like CAP::FormState was written especially for C::A, but I was wondering if anyone knew of a module with similar functionality that Is this module relevant: http://search.cpan.org/~kazeburo/CGI-Application-Plugin-Stash-0.01/ -- Ron Savage [EMAIL PROTECTED] http

Re: *****SPAM***** Re: [cgiapp] Q: Any guidelines for paging thru db records via CGIparams?

2008-05-28 Thread Ron Savage
that one, never having used it. H. -- Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html # CGI::Application community mailing list #### ## To unsubscribe, or change your message delivery options

Re: [cgiapp] Q: Any guidelines for paging thru db records via CGI params?

2008-05-27 Thread Ron Savage
in another reply, I'm fishing for ideas on how to display these options in the web client, for the user's benefit. -- Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html # CGI::Application community mailing list

Re: [cgiapp] Q: Any guidelines for paging thru db records via CGI params?

2008-05-26 Thread Ron Savage
if anyone is interested. I'm using CGI::Application::Dispatch. Does that make your module redundant? If not, and since I'm working at home most of the time at the moment, perhaps we could turn it into a CPAN-ready module. Let's see if there is any interest. -- Ron Savage [EMAIL PROTECTED] http

[cgiapp] Q: Any guidelines for paging thru db records via CGI params?

2008-05-25 Thread Ron Savage
Previous and Next (separate from the original form) o I could use non-cookie sessions, but otherwise work as per the previous item Comments? -- Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html # CGI::Application community mailing list

Re: [cgiapp] Q: Any guidelines for paging thru db records via CGI params?

2008-05-25 Thread Ron Savage
. Yes it does. The question is how to let the end user manage the transition from page to page. -- Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html # CGI::Application community mailing list

Re: [cgiapp] Q: Any guidelines for paging thru db records via CGI params?

2008-05-25 Thread Ron Savage
On Mon, 2008-05-26 at 16:15 +1200, Dan Horne wrote: Ron Savage said: The question is how to let the end user manage the transition from page to page. Oh, I misunderstood. I guess in that case, why not use the pagination model used by Google with the page number at the footer of the page

<    1   2   3   4   5   6   >