Re: [cgiapp] Dispatching with PSGI

2014-09-10 Thread Ron Savage
ion has native > PSGI support. Perhaps this will help: https://metacpan.org/pod/CGI::Snapp::Dispatch -- Ron Savage - savage.net.au # CGI::Application community mailing list #### ## To unsubscribe, or chan

Re: [cgiapp] Switching CGI::Snapp from Hash::FieldHash to Moo

2013-11-18 Thread Ron Savage
e. I wanted a more > modern approach to web app development, having use CGI::App for many > years, and Dancer came along at the right time. As you know D2 is a > re-write using Moo, so I think you're probably going in the right > direction. I now develop web apps exclusively with D

Re: [cgiapp] Switching CGI::Snapp from Hash::FieldHash to Moo

2013-11-14 Thread Ron Savage
oing in the right > direction. I now develop web apps exclusively with D2. > > On 14/11/2013 06:46, Ron Savage wrote: >> Hi All >> >> I've almost decided to switch the class builder in CGI::Snapp from >> Hash::FieldHash to Moo. >> >> The point of the

[cgiapp] Switching CGI::Snapp from Hash::FieldHash to Moo

2013-11-13 Thread Ron Savage
Hi All I've almost decided to switch the class builder in CGI::Snapp from Hash::FieldHash to Moo. The point of the switch is that sub-classes can then use Moo and Moo::Role. Just before I do I'd like to know how much trouble that's going to be for users (if any :-). --

Re: [cgiapp] Re lease CGI::Application::Plugin::Header

2013-03-25 Thread Ron Savage
); > } > > However, CGI.pm' header() method requires the prefix in some cases: Yes, that's where the problem starts. -- Ron Savage http://savage.net.au/ Ph: 0421 920 622 # CGI::Application community mailing list ##

Re: [cgiapp] Re lease CGI::Application::Plugin::Header

2013-03-25 Thread Ron Savage
Hi Mark But supporting it adds complexity for no gain :-(. -- Ron Savage http://savage.net.au/ Ph: 0421 920 622 # CGI::Application community mailing list #### ## To unsubscribe, or change your message delivery

Re: [cgiapp] Re lease CGI::Application::Plugin::Header

2013-03-25 Thread Ron Savage
izes property names automatically ("-Content_Type" -> "-type"), and > so you can specify them consistently. > > CAP::Header is still in development. You can download the latest code in the > following repository: > >https://github.com/anazawa/p5-CGI-Header

Re: [cgiapp] CGI::Application wiki page HomePage updated by NickNolte

2013-01-18 Thread Ron Savage
nd of these 6 meanings? http://www.acronymfinder.com/LART.html > > > > > On Thu, Jan 17, 2013 at 3:51 PM, Ron Savage wrote: > >> Hi >> >> On 18/01/13 05:35, Mark Stosberg wrote: >>> On 01/17/2013 01:26 PM, Brian Wightman wrote: >>>> Ok, I don&

Re: [cgiapp] CGI::Application wiki page HomePage updated by NickNolte

2013-01-17 Thread Ron Savage
ybe we could put the old wiki in "read-only" mode? Yes. Just disable updates for the time being. > I have not looked into this, but it doesn't seem hard, even if we have > to hack it. We just have to disable the update feature and post a notice. -- Ron Savage http://savage.

Re: [cgiapp] CGI::Application wiki page HomePage updated by ronsavage

2013-01-09 Thread Ron Savage
Hi Joi On 10/01/13 06:29, Joi Ellis wrote: > Is there no way you can block that loser from repeatedly vandalizing the > pages with his spam? No, but the wiki is currently being transferred to another form, so it matters little. -- Ron Savage http://savage.net.au/ Ph: 0421 920 622

Re: [cgiapp] Proposal: Change CGI::Snapp's base class from Hash::FieldHash to Moos (sic)

2012-12-11 Thread Ron Savage
Hi Amazing. I don't get it get. On 12/12/12 01:29, Mark Stosberg wrote: > On 12/10/2012 06:05 PM, Ron Savage wrote: >> Hi Mark >> >> On 11/12/12 08:38, Mark Stosberg wrote: >>> On 12/10/2012 04:27 PM, Ron Savage wrote: >>>> Hi Mark >>>&g

Re: [cgiapp] Proposal: Change CGI::Snapp's base class from Hash::FieldHash to Moos (sic)

2012-12-10 Thread Ron Savage
Hi Mark On 11/12/12 08:38, Mark Stosberg wrote: > On 12/10/2012 04:27 PM, Ron Savage wrote: >> Hi Mark >> >> Ah, yes. No 'use Moo', means new() is not generated, so you don't end up >> with a class. > > And the class-less-ness makes it a problem

Re: [cgiapp] Proposal: Change CGI::Snapp's base class from Hash::FieldHash to Moos (sic)

2012-12-10 Thread Ron Savage
Hi Mark Ah, yes. No 'use Moo', means new() is not generated, so you don't end up with a class. In the modules for the article, I specifically tried to make my code both class and role. On 11/12/12 01:13, Mark Stosberg wrote: > On 12/08/2012 09:23 PM, Ron Savage wrote: &g

Re: [cgiapp] Proposal: Change CGI::Snapp's base class from Hash::FieldHash to Moos (sic)

2012-12-10 Thread Ron Savage
Hi Mark On 11/12/12 01:13, Mark Stosberg wrote: > On 12/08/2012 09:23 PM, Ron Savage wrote: >> Hi Mark >> >> See https://rt.cpan.org/Public/Dist/Display.html?Name=Moo >> >> As I said in my last msg on that thread, I'd better re-write the article >> :-

Re: [cgiapp] Proposal: Change CGI::Snapp's base class from Hash::FieldHash to Moos (sic)

2012-12-08 Thread Ron Savage
Hi Mark See https://rt.cpan.org/Public/Dist/Display.html?Name=Moo As I said in my last msg on that thread, I'd better re-write the article :-((. On 27/11/12 09:00, Ron Savage wrote: > Hi Mark > > On 27/11/12 01:51, Mark Stosberg wrote: >> On 11/21/2012 07:46 PM, Ron Savag

Re: [cgiapp] CGI::Application wiki page ColorChooserExampleApp updated by MidLifeXis

2012-12-05 Thread Ron Savage
## > ## Web archive: http://www.erlbaum.net/pipermail/cgiapp/ ## > ## Wiki: http://cgiapp.erlbaum.net/ ## > #### > > -- Ron Savage http://savage.net.au/ Ph: 0421 920 622 # CGI::Application community mailing list ##

Re: [cgiapp] Proposal: Change CGI::Snapp's base class from Hash::FieldHash to Moos (sic)

2012-11-26 Thread Ron Savage
Hi Mark On 27/11/12 01:51, Mark Stosberg wrote: > On 11/21/2012 07:46 PM, Ron Savage wrote: >> Hi Mark >> >> On 22/11/12 01:25, Mark Stosberg wrote: >>> >>>>> What I have now is for Moose and a bit project-specific, but I plan to >>>>>

Re: [cgiapp] Proposal: Change CGI::Snapp's base class from Hash::FieldHash to Moos (sic)

2012-11-22 Thread Ron Savage
Hi > Hmm. Perhaps I should write an article too. I've sent off to chromatic (for publication on perl.com) my 2nd article on lexing and parsing with Marpa::R2, so I've made a start on this new article, which will appear on blogs.perl.org. -- Ron Savage http://savage.net.au/ Ph:

Re: [cgiapp] Proposal: Change CGI::Snapp's base class from Hash::FieldHash to Moos (sic)

2012-11-21 Thread Ron Savage
work-around code now, using the construct: has x => (); around 'x' => sub{...} But it's a pain. -- Ron Savage http://savage.net.au/ Ph: 0421 920 622 # CGI::Application community mailing list ####

Re: [cgiapp] Proposal: Change CGI::Snapp's base class from Hash::FieldHash to Moos (sic)

2012-11-20 Thread Ron Savage
ttp://www.modernperlbooks.com/mt/2012/11/the-curious-case-of-the-justifiable-but-slow-singleton.html#comment-1768 Hmm. Perhaps I should write an article too. > My Database role integrates with DBIx::Simple currently. Event

[cgiapp] Proposal: Change CGI::Snapp's base class from Hash::FieldHash to Moos (sic)

2012-11-20 Thread Ron Savage
s, e.g. the M and V in MVC. As I type this email, the idea is growing on me more and more. So, if you have any comments, now is the time to speak up. -- Ron Savage http://savage.net.au/ Ph: 0421 920 622 # CGI::Application community mailing list ##

Re: [cgiapp] draft version of "PSGI::Application" published (not the final name)

2012-11-05 Thread Ron Savage
t. > * forward() and redirect() are now in the core. Excellent. > * load_tmpl() and html_tmpl_class() have been removed Of course. -- Ron Savage http://savage.net.au/ Ph: 0421 920 622 # CGI::Application community mailing list ##

Re: [cgiapp] replace the wiki?

2012-10-29 Thread Ron Savage
, and it looks good, so I'd say just take the decision and switch. We don't need a long discussion about it. Not everything has to be Open Source, or Perl. Think OSes, compilers, web servers, db servers, email servers, etc etc. -- Ron Savage http://savage.net

Re: [cgiapp] CGI::Application wiki page SettingDropDownValues updated by BryanSmith

2012-10-26 Thread Ron Savage
Hi Mark On 27/10/12 01:27, Mark Stosberg wrote: > On 10/25/2012 05:58 PM, Ron Savage wrote: > Ron, > > You are right on all points. That brings me to Plan B, which is perhaps > over due: Thanx. > Start over the wiki using a new platform. > > It's due for a "

Re: [cgiapp] CGI::Application wiki page SettingDropDownValues updated by BryanSmith

2012-10-25 Thread Ron Savage
erlbaum.net/pipermail/cgiapp/ ## > ## Wiki: http://cgiapp.erlbaum.net/ ## > ## ## > > > > -- Ron Savage http://savage.net.au/ Ph: 0421 920 622 # CGI::Application community mailing list ##

[cgiapp] Encoding special chars (eg '+') in CGI form data

2012-09-21 Thread Ron Savage
TIA -- Ron Savage http://savage.net.au/ Ph: 0421 920 622 # CGI::Application community mailing list #### ## To unsubscribe, or change your message delivery options, ## ## visit: http://www.erlbaum.net/mailman

[cgiapp] Announce CGI::Snapp V 1.02

2012-09-17 Thread Ron Savage
/lib/CGI/Snapp/ForwardTest.pm. Update docs. - Roll the source of CGI::Snapp::Plugin::Redirect into CGI::Snapp. See also t/redirect.t and t/lib/CGI/Snapp/RedirectTest.pm. Update docs. Shortly, I'll release new versions of the 4 demos, specifying CGI::Snapp V 1.02 as the pre-req. -- Ron Savage

Re: [cgiapp] CGI::Application status update from the maintainer

2012-09-10 Thread Ron Savage
than switch to CGI::Snapp, but you should be aware that in the latter's documentation, I went to great lengths to spell out this matter. See/Read for yourself my explanation: https://metacpan.org/module/CGI::Snapp#The-Flow-of-Control HTH. -- Ron Savage http://s

Re: [cgiapp] CGI::Application status update from the maintainer

2012-09-08 Thread Ron Savage
for lack of interest from others, it seems), while the Moose > project appears to have about 8 maintainers. > > On it's own, I don't think the general presence of bugs in a bug queue > presents a great concern about the quality of project, although specific > bugs certainly cou

Re: [cgiapp] CGI::Application status update from the maintainer

2012-09-06 Thread Ron Savage
lking about.) The problem is that SUPER::* is a way of sharing /all/ the code in the super class's cgi_init. If you don't wish to do that, then do as I've indicated above, and just share none or some of the code via web_common_init etc. You really do have a variety of ways to work

Re: [cgiapp] CGI::Application wiki page HomePage updated by MikeTonks

2012-09-06 Thread Ron Savage
Hi Mike On 06/09/12 18:58, Mike Tonks wrote: > Just a note to say I'm pretty sure we don't want these two spam links > on the front page of the wiki, but if I've got the wrong end of the > stick just let me know. Big game hunter - Shoot on sight! -- Ron Savage http:/

Re: [cgiapp] CGI::Application status update from the maintainer

2012-09-05 Thread Ron Savage
te state machine model to its logical max. This thought > may be way out there, but defining things like runmodes only takes you > so far. Going a step further, perhaps done through more feature dispatching > or routing, it'd be really nice to be able

Re: [cgiapp] uploads

2012-08-10 Thread Ron Savage
Hi Brett On 11/08/12 11:10, Ron Savage wrote: > Hi Brett > > On 11/08/12 08:13, B. Estrade wrote: >> What is the idiomatic way for dealing with uploads via CAP? >> >> I am using CGI::Simple. > > You might try CGI::Upload or CGI::Uploader. The latter is unsupported

Re: [cgiapp] uploads

2012-08-10 Thread Ron Savage
Hi Brett On 11/08/12 08:13, B. Estrade wrote: > What is the idiomatic way for dealing with uploads via CAP? > > I am using CGI::Simple. You might try CGI::Upload or CGI::Uploader. The latter is unsupported. Let us know how it works. -- Ron Savage http://savage.net.au/ Ph: 042

Re: [cgiapp] *****SPAM***** Re: nginx fastcgi configuration problem for C::A app

2012-08-03 Thread Ron Savage
d is to manually set path_info with request_uri value > in my C::A app.. > > > James. > > P.S sorry for the top posting. yahoo mail just reminds me how crap the new > interface is.. Don't forget - On some mailing lists top posting is the norm. And some of us prefer it.

Re: [cgiapp] nginx fastcgi configuration problem for C::A app

2012-08-02 Thread Ron Savage
On 02/08/12 15:35, Ron Savage wrote: > Hi James > > On 02/08/12 15:25, James.Q.L wrote: >> Hello, >> >> I am trying to get a C::A app work in nginx fastcgi environment (debian 6.0) >> and using spawn-fcgi. > > Sorry, I use nginx and Debian, but don&#x

[cgiapp] nginx fastcgi configuration problem for C::A app

2012-08-01 Thread Ron Savage
Hi James On 02/08/12 15:25, James.Q.L wrote: > Hello, > > I am trying to get a C::A app work in nginx fastcgi environment (debian 6.0) > and using spawn-fcgi. Sorry, I use nginx and Debian, but don't use fcgi. -- Ron Savage http://savage.net.au/ Ph: 0421 920 622 #

Re: [cgiapp] CAP Dispatch and encoded backslashes

2012-06-07 Thread Ron Savage
;, meaning the data and URL are sent via 2 separate channels, which is (as I understand it), no more than what I said :-). -- Ron Savage http://savage.net.au/ Ph: 0421 920 622 # CGI::Application community mailing list ##

Re: [cgiapp] CAP Dispatch and encoded backslashes

2012-06-07 Thread Ron Savage
On 08/06/12 00:41, B. Estrade wrote: > On Thu, Jun 07, 2012 at 03:45:15PM +1000, Ron Savage wrote: >> Hi Brett >> >> On 07/06/12 13:42, B. Estrade wrote: >>> On Thu, Jun 07, 2012 at 01:17:12PM +1000, Ron Savage wrote: >>>> Hi Brett >>>> >&

Re: [cgiapp] CAP Dispatch and encoded backslashes

2012-06-06 Thread Ron Savage
Hi Brett On 07/06/12 13:42, B. Estrade wrote: > On Thu, Jun 07, 2012 at 01:17:12PM +1000, Ron Savage wrote: >> Hi Brett >> >> On 07/06/12 05:37, B. Estrade wrote: >>> I am having an issue with CAP Dispatch that seems to be rearing its >>> ugly head when I

Re: [cgiapp] CAP Dispatch and encoded backslashes

2012-06-06 Thread Ron Savage
he name of the application module the path is split on backslahes (C). Clearly (?) it means slash (/), not backslash (\). Which do you mean? -- Ron Savage http://savage.net.au/ Ph: 0421 920 622 # CGI::Application community mailing list ##

Re: [cgiapp] Problems with exception handling in CAP::Dispatch

2012-05-15 Thread Ron Savage
xception code at all. Rather: Just do what I did with the re-writes: Add logging code at the start of all the major subs, which will simply if crudely tell you exactly how far the code is getting before it dies. HTH -- Ron Savage http://savage.net.au/ Ph: 0421 920 622 # CGI::Application commun

Re: [cgiapp] spam email I just received, referencing the Examples wiki page

2012-05-15 Thread Ron Savage
looking in to it. > BTW, at the start of July I'll have space in my diary for looking at setting > up the new wiki. Gasp! -- Ron Savage http://savage.net.au/ Ph: 0421 920 622 # CGI::Application community mailing list ##

Re: [cgiapp] spam email I just received, referencing the Examples wiki page

2012-05-14 Thread Ron Savage
hy you were chosen to receive this email, and that makes me suspicious. genomebiology.com looks legit. tigem.it does too. I searched using 'Search for $X', not just $X. If the email had said: Can I add a link, sinc

Re: [cgiapp] Debugging while using CAP::Dispatch...

2012-04-20 Thread Ron Savage
Hi Brett On 20/04/12 23:23, B. Estrade wrote: > On Fri, Apr 20, 2012 at 08:57:53AM +1000, Ron Savage wrote: >> Hi Brett >> >> On 20/04/12 08:47, B. Estrade wrote: >>> I am having some time trying to figure out errors with this kind of >>> output: >>>

Re: [cgiapp] Debugging while using CAP::Dispatch...

2012-04-19 Thread Ron Savage
package... > > What is the best way to get useful information to the browswer when > something goes awry? Those msgs mean there is a mis-match between the calling code and the parameter list of the method you're calling (or think you're calling). -- Ron Savage http://savage.net

Re: [cgiapp] Announce: CGI::Snapp::Dispatch V 1.00 etc, with PSGI support

2012-04-13 Thread Ron Savage
ts - I don't think > any effort to improve things or to learn is time wasted. Most OSS > projects out there are "one man" or "one off". I have a few myself =). Thanx for the positive feedback. I'm delighted to say I don't think any of my time was wasted. A

Re: [cgiapp] Announce: CGI::Snapp::Dispatch V 1.00 etc, with PSGI support

2012-04-13 Thread Ron Savage
e possibly, but the code will not suffer bit rot. It definitely will be maintained. -- Ron Savage http://savage.net.au/ Ph: 0421 920 622 # CGI::Application community mailing list #### ## To unsubscribe, or cha

Re: [cgiapp] Announce: CGI::Snapp::Dispatch V 1.00 etc, with PSGI support

2012-04-12 Thread Ron Savage
have to be some differences, otherwise there's not much point in a fork... Also, I've written or re-written all the documentation for my modules, and hopefully made them vastly easier to read. -- Ron Savage http://savage.net.au/ Ph: 0421 920 622 # CGI::Applicati

Re: [cgiapp] Announce: CGI::Snapp::Dispatch V 1.00 etc, with PSGI support

2012-04-12 Thread Ron Savage
Hi Brett On 13/04/12 01:34, B. Estrade wrote: > On Thu, Apr 12, 2012 at 01:29:37PM +1000, Ron Savage wrote: > > Congratulations and nice work. I am sorry to be dense, but as long as > I've been following Snapp and as many of the docs that I seem to have > read, I am still

[cgiapp] Announce: CGI::Snapp::Dispatch V 1.00 etc, with PSGI support

2012-04-11 Thread Ron Savage
does not. o CGI::Snapp::Plugin::Redirect V 1.01. The tests explicitly create a logger since CGI::Snapp V 1.01 now does not. -- Ron Savage http://savage.net.au/ Ph: 0421 920 622 # CGI::Application community mailing

Re: [cgiapp] CAP::Session causing errors under FastCGI and Plack?

2012-04-03 Thread Ron Savage
Hi Jason Suggestion: Cut out CGI::Application::Plugin::Session, and just use CGI::Session directly. That will have to tell you something... -- Ron Savage http://savage.net.au/ Ph: 0421 920 622 # CGI::Application community mailing list

[cgiapp] CGI:App V 4.50, PSGI and header option 'none'

2012-04-03 Thread Ron Savage
Hi Folks Heads up! AFAICT, if you are using the headers option 'none', sub _send_psgi_headers should return (200, []) instead of ''. I've logged a bug report, although I fear the module is no longer supported. Does anyone think I should also blog about this bug on

Re: [cgiapp] app authorization patterns, best practices?

2012-03-28 Thread Ron Savage
## >> ## To unsubscribe, or change your message delivery options, ## >> ## visit: http://www.erlbaum.net/mailman/listinfo/cgiapp## >> ## ## >> ## Web archive:

Re: [cgiapp] app authorization patterns, best practices?

2012-03-23 Thread Ron Savage
my $user (qw/user1 user2 user3 nobody/) { print "User: $user. "; for my $group (qw/all manager admin nothing/) { print "Group: $group. Check: ", check($user, $group) || 0, '. '; } print "\n"; } -- Ron

[cgiapp] Faulty email address

2012-03-23 Thread Ron Savage
dress and try to resend the message. If the problem continues, please contact your helpdesk. -- Ron Savage http://savage.net.au/ Ph: 0421 920 622 # CGI::Application community mailing list #### ## To unsubs

Re: [cgiapp] app authorization patterns, best practices?

2012-03-23 Thread Ron Savage
er can manage his Users, Admin can do anything). Did you try class inheritance? The base class would be user, i.e. minimal features. A manager gets the manager sub-class and admin - derived from manager - gets the admin sub-class, which gives them a more inclusive form. -- Ron Savage http://

[cgiapp] CGI::Snapp (a almost back-compat fork of CGI::Application), etc

2012-03-12 Thread Ron Savage
n which uses Config::Tiny https://metacpan.org/release/Config-Plugin-TinyManifold";>Config::Plugin::TinyManifold - A plugin which uses Config::Tiny with 1 of N sections https://metacpan.org/release/Log-Handler-Plugin-DBI";>Log::Handler::Plugin::DBI - A plugin for Log::Handler

Re: [cgiapp] Discrepancy between CGI and CGI::Simple

2012-02-27 Thread Ron Savage
Hi Mark On 28/02/12 01:29, Mark Stosberg wrote: > On 02/19/2012 04:39 PM, Ron Savage wrote: >> Hi Folks >> >> Firstly, the code: >> <===8><===> >> #!/usr/bin/env perl >> >> use feature 'say'; >> >> use CGI; >>

Re: [cgiapp] Discrepancy between CGI and CGI::Simple

2012-02-19 Thread Ron Savage
Hi Nic On 20/02/12 09:15, Nic Zero wrote: > Hi Ron, > > Just a warning that at least one spam filter is flagging up your message > as possibly pornographic due to your use of "XX". Gee, thanx. I didn't expect that. What a sheltered life I must lea

[cgiapp] Discrepancy between CGI and CGI::Simple

2012-02-19 Thread Ron Savage
Then the output: <===8><===> CGI: Status: 302 Found Location: http://localhost CGI::Simple: Status: 302 Moved Location: http://localhost/home/ron/bin/x.pl <===8><===> It's the 302 line I'm interested in. Is this discrepancy by design or not? -

Re: [cgiapp] Potential bug in CGI::App V 4.50

2012-02-12 Thread Ron Savage
Hi Ron On 12/02/12 13:52, Ron Savage wrote: > Hi Folks > > The docs for CGI::App V 4.50, for the mode_param() method, > > https://metacpan.org/module/CGI::Application#mode_param- > > refer to > > $webapp->mode_param( > path_info=> 1, >

[cgiapp] Potential bug in CGI::App V 4.50

2012-02-11 Thread Ron Savage
>{run_mode}; which suggests that mode_param can take a hash with one key having the value of 'run_mode' rather than 'param'. Surely the docs are in error here? -- Ron Savage http://savage.net.au/ Ph: 0421 920 622

Re: [cgiapp] catching exceptions

2012-01-06 Thread Ron Savage
ass's exception_action method, and have > not been successful (under CGI::Application). Have you considered using https://metacpan.org/release/DBIx-Connector -- Ron Savage http://savage.net.au/ Ph: 0421 920 622 # CGI::Application community mailing list ##

[cgiapp] CGI::Application and CGI::Application::Dispatch::PSGI

2012-01-04 Thread Ron Savage
ocal::Application::Controller looked like: <---8><---> package Local::Application::Controller; use parent 'CGI::Application'; ... <---8><---> The docs for CGI::App which discuss PSGI support do not pr

Re: [cgiapp] Closing the wiki

2012-01-04 Thread Ron Savage
Hi Mark Does any of this affect the mailing list, since it uses lists.erlbaum.net? -- Ron Savage http://savage.net.au/ Ph: 0421 920 622 # CGI::Application community mailing list #### ## To unsubscribe, or

Re: [cgiapp] Anyone using Chrome's Javascript?

2012-01-04 Thread Ron Savage
Hi Mark On 05/01/12 02:11, Mark Stosberg wrote: > On 12/18/2011 08:14 PM, Ron Savage wrote: >> Hi Folks >> >> Is anyone using Chrome's Javascript [1]? >> >> Or heard of anyone using it? >> >> [1] http://code.google.com/p/v8/ > > We've

Re: [cgiapp] Anyone using Chrome's Javascript?

2011-12-19 Thread Ron Savage
Hi Folks On 20/12/11 04:39, Jiří Pavlovský wrote: > On 19.12.2011 2:14, Ron Savage wrote: >> Hi Folks >> >> Is anyone using Chrome's Javascript [1]? >> >> Or heard of anyone using it? >> >> > > Search for v8 on CPAN. You will find couple

[cgiapp] Anyone using Chrome's Javascript?

2011-12-18 Thread Ron Savage
Hi Folks Is anyone using Chrome's Javascript [1]? Or heard of anyone using it? [1] http://code.google.com/p/v8/ -- Ron Savage http://savage.net.au/ Ph: 0421 920 622 # CGI::Application community mailing

Re: [cgiapp] Possible non-spam

2011-12-08 Thread Ron Savage
Hi Rhesa On Thu, 2011-12-08 at 20:44 +0100, Rhesa Rozendaal wrote: > On 12/08/2011 08:33 PM, Ron Savage wrote: > > > > If it isn't spam, there are 2 ways to go: > > > > o Change my spam detector to whitelist [cgiapp] in the Subject. > > > > o Persuad

[cgiapp] Possible non-spam

2011-12-08 Thread Ron Savage
mails. Any (polite) suggestions? -- Ron Savage http://savage.net.au/ Ph: 0421 920 622 # CGI::Application community mailing list #### ## To unsubscribe, or change your message delivery options, ## ## visit:

Re: [cgiapp] need a fresh WebApp instance with every request ?

2011-11-30 Thread Ron Savage
Hi Matthias On Wed, 2011-11-30 at 02:43 +0100, Matthias Ferdinand wrote: > On Wed, Nov 30, 2011 at 11:01:04AM +1100, Ron Savage wrote: > > Hi Matthias > > > > On Sun, 2011-11-27 at 17:24 +0100, Matthias Ferdinand wrote: > > > > > I could not find in CGI::App

Re: [cgiapp] need a fresh WebApp instance with every request ?

2011-11-29 Thread Ron Savage
tps://metacpan.org/search?q=Plack [2] http://savage.net.au/Perl.html#plack_for_beginners_html [3] http://savage.net.au/Perl.html#session_management_with_plack_html -- Ron Savage http://savage.net.au/ Ph: 0421 920 622 # CGI::Application community mailing list ##

Re: [cgiapp] define pdf:use-cropbox=true

2011-09-20 Thread Ron Savage
agick.org/script/perl-magick.php So: Why are you using that syntax? Do you have a URL for it? Lastly, I used Image::Magick for years, but after Cristy repeatedly deleted my contributions (after giving me upload access to his site!) I gave up and switched to Imager. You should too. -- Ron Sava

Re: [cgiapp] RESTful Perl Resources.

2011-09-16 Thread Ron Savage
l come up with different ways of doing it, even if they are trying to all come up with the same solution. > Sadly, chromatic specifies Catalyst solutions though. Yep. -- Ron Savage http://savage.net.au/ Ph: 0421 920 622 # CGI::Application commu

Re: [cgiapp] Multiple exception packages in CAD?

2011-09-08 Thread Ron Savage
Hi Tim On Thu, 2011-09-08 at 09:58 -0400, Timothy Appnel wrote: > On Jul 28, 2011, at 19:39, Ron Savage wrote: > > > I had a look at the source code for CAD, and it would be trivial to > > patch to replace Exception::Class::TryCatch with Try::Tiny. > > > If I wasn&#

Re: [cgiapp] CGI::Application wiki page ArticlesAndTutorials updated by Dave

2011-08-06 Thread Ron Savage
Hi Dave On Sun, 2011-08-07 at 12:32 +0900, David Emery wrote: > Ron Savage writes: > > > On Sat, 2011-08-06 at 21:54 -0400, cgi...@erlbaum.net wrote: > >> CGI::Application page http://cgi-app.org/index.cgi?ArticlesAndTutorials > >> edited by Dave > > > &

Re: [cgiapp] CGI::Application wiki page ArticlesAndTutorials updated by Dave

2011-08-06 Thread Ron Savage
in that the potential audience will be small. Perhaps it's more a case of: Just because I can. -- Ron Savage http://savage.net.au/ Ph: 0421 920 622 # CGI::Application community mailing list #### ## To unsubscribe

Re: [cgiapp] Multiple exception packages in CAD?

2011-07-28 Thread Ron Savage
most resist the urge to say something ... > Sent from my iPhone No need to apologize - no-one's perfect - hahahahahahaha. -- Ron Savage http://savage.net.au/ Ph: 0421 920 622 # CGI::Application community mailing list ##

Re: [cgiapp] CGI::Session

2011-07-08 Thread Ron Savage
Hi Lyle OK - As a first step, I've uploaded Module::Metadata::CoreList to CPAN. Docs: http://savage.net.au/Perl-modules/html/Module/Metadata/CoreList.html Sample report: http://savage.net.au/Perl-modules/html/module.metadata.corelist.report.html -- Ron Savage http://savage.net.au/ Ph:

Re: [cgiapp] CGI::Session

2011-07-07 Thread Ron Savage
Hi Resa On Thu, 2011-07-07 at 10:37 +0200, Rhesa Rozendaal wrote: > On 07/07/2011 04:01 AM, Ron Savage wrote: > > Hi Josh > > > > On Wed, 2011-07-06 at 21:23 -0400, Joshua Miller wrote: > >> Hi all, > >> > >> This is kinda picking at a sore spot f

Re: [cgiapp] CGI::Session

2011-07-07 Thread Ron Savage
nted. That way > you can require certain modules for building and testing, but not for > actual installation and use. Good point. I'll move the 2 DBIx::* modules into build_requires. -- Ron Savage http://savage.net.au/ Ph: 0421 920 622 ##

Re: [cgiapp] CGI::Session

2011-07-06 Thread Ron Savage
Hi Lyle On Thu, 2011-07-07 at 03:25 +0100, Lyle wrote: > On 07/07/2011 03:01, Ron Savage wrote: > > OK - here's what I'll do. > > I'll use perlbrew to install a fresh copy of 5.10.1. > > > > My system Perl (5.10.1) is Debian's 6.0.2, but I won&#x

Re: [cgiapp] CGI::Session

2011-07-06 Thread Ron Savage
5.10.1 with the modules I actually use in Data::Session, and report back. > On Wed, Jul 6, 2011 at 8:45 PM, Ron Savage wrote: > > > Hi Nick > > > > On Wed, 2011-07-06 at 14:35 +0100, Nicholas Bamber wrote: > > > Ron, > > > You put an explicit

Re: [cgiapp] CGI::Session

2011-07-06 Thread Ron Savage
re's already a Deb package for DBIx::Admin::CreateTable (that's why 'All rights reserved' was removed from the licence section in V 2.06), and I believe DBIx::Admin::DSNManager deserves its own Deb package. Nevertheless, if you think it's worth rewriting that code, feel f

Re: [cgiapp] CGI::Session

2011-07-05 Thread Ron Savage
wait for Mark to help out. > You did once say you would look into getting Data::Session into Debian > yourself. I can still do it for you if you prefer. I did not get around to that. I'd be grateful if you could arrange for a Debian-style release. TIA. -- Ron Savage

Re: [cgiapp] CGI::Session

2011-07-04 Thread Ron Savage
rite: Data::Session -- Ron Savage http://savage.net.au/ Ph: 0421 920 622 # CGI::Application community mailing list #### ## To unsubscribe, or change your message delivery options, ## ## visit: http://www.

Re: [cgiapp] Login/logout example no longer functional?

2011-06-27 Thread Ron Savage
g tells me you've got recursion happening, so the obvious thing to suggest is that you've saved one (or more!) of the templates with the wrong name, so that it tmpl_includes itself, either directly or indirectly via another template. So - proofread your work! -- Ron Savage http://savage.n

Re: [cgiapp] Sessions leaking with FastCGI

2011-06-16 Thread Ron Savage
.plack.html Since it's a persistent environment, you still need to take all the usual precautions about avoiding global variables, flushing session objects, etc, etc. -- Ron Savage http://savage.net.au/ Ph: 0421 920 622 # CGI::Application community mailing list

Re: [cgiapp] Sessions leaking with FastCGI

2011-06-16 Thread Ron Savage
Also, I am wondering about my call to session_config. I still have that in > cgiapp_init - does that need to move to prerun in a persistent environment? > I did add a $self->session->flush() to my postrun. Are there other things > that needs to be done differently under fastcgi wit

Re: [cgiapp] Forms - Brannigan and CGI::Untaint

2011-06-16 Thread Ron Savage
ments. Exactly! It's a bit of extra CPU power burned up, but that's infinitesimal, really. -- Ron Savage http://savage.net.au/ Ph: 0421 920 622 # CGI::Application community mailing list #### ## To un

Re: [cgiapp] Forms - Brannigan and CGI::Untaint

2011-06-15 Thread Ron Savage
page as a sibling below the current page'. { exact_length => 44, required => 0, }, submit_update_page => # 'Save'. {

Re: [cgiapp] Open source applications written using CGI::Application

2011-06-14 Thread Ron Savage
Hi Gabor See below. On Tue, 2011-06-14 at 12:00 +0300, Gabor Szabo wrote: > On Mon, May 30, 2011 at 12:02 PM, Ron Savage wrote: > > Hi Gabor > > > > On Mon, 2011-05-30 at 11:30 +0300, Gabor Szabo wrote: > >> Hi, > >> > >> > >> - App::Off

Re: [cgiapp] Open source applications written using CGI::Application

2011-05-30 Thread Ron Savage
ve installation problems, please let me know and I'll fix them. My policy is that these programs should /always/ be installable. -- Ron Savage http://savage.net.au/ Ph: 0421 920 622 # CGI::Application community mailing list ##

Re: [cgiapp] REST tunneling in CGI::Application::Dispatch

2011-05-26 Thread Ron Savage
Hi Tim On Thu, 2011-05-26 at 17:06 -0400, Timothy Appnel wrote: > On Friday, May 20, 2011 at 6:32 PM, Ron Savage wrote: > > It's sad to hear you refer to that code as 'the mess'. > Yes Ron it makes us sad too, but MT(OS) has code that is almost 10 years old >

Re: [cgiapp] How to lazy-load runmodes

2011-05-25 Thread Ron Savage
Hi gvim On Thu, 2011-05-26 at 01:42 +0100, gvim wrote: > On 25/05/2011 07:37, Ron Savage wrote: > > > > I don't run Apache anymore. I run nginx and proxy cgi-bin/ to > > mini-httpd. A 'weird error' won't be in those programs, it'll be in your > &g

Re: [cgiapp] How to lazy-load runmodes

2011-05-24 Thread Ron Savage
ly different topic. You should have started a new thread. I don't run Apache anymore. I run nginx and proxy cgi-bin/ to mini-httpd. A 'weird error' won't be in those programs, it'll be in your code, no matter how hard you find that to believe :-))). It's a classic symp

Re: [cgiapp] How to lazy-load runmodes

2011-05-23 Thread Ron Savage
course, if you run them under plack or Starman, they are permanently resident anyway, so the startup overhead is only incurred once. All the above modules include a plack/starman runner httpd/*/*.psgi using C::A::D. -- Ron Savage http://savage.net.au/ Ph: 0421 920 622 # C

Re: [cgiapp] REST tunneling in CGI::Application::Dispatch

2011-05-20 Thread Ron Savage
Now, I never write an app without C::A::D, and it's always combined with MVC style module design. -- Ron Savage http://savage.net.au/ Ph: 0421 920 622 # CGI::Application community mailing list ##

Re: [cgiapp] $self->tt_error() ?

2011-05-20 Thread Ron Savage
## > #### > ## Web archive: http://www.erlbaum.net/pipermail/cgiapp/ ## > ## Wiki: http://cgiapp.erlbaum.net/ ## > #### >

  1   2   3   4   5   6   7   >