<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:www.nabble.com,2006:forum-13612</id>
	<title>Nabble - Perl - Cgi-Application</title>
	<updated>2008-10-06T22:22:34Z</updated>
	<link rel="self" type="application/atom+xml" href="http://www.nabble.com/Perl---Cgi-Application-f13612.xml" />
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Perl---Cgi-Application-f13612.html" />
	<subtitle type="html">For discussion of the use and development of the CGI::Application module, and related systems. CGI::Application is a framework for building web-based applications in Perl.</subtitle>
	
<entry>
	<id>tag:www.nabble.com,2006:post-19851254</id>
	<title>Re: Re: Patches available for ::Plugin::Routes (was: Re: New plugin idea based/inspired on CA Dispatch)</title>
	<published>2008-10-06T22:22:34Z</published>
	<updated>2008-10-06T22:22:34Z</updated>
	<author>
		<name>Porta-2</name>
	</author>
	<content type="html">Mark:
&lt;br&gt;(Sorry for the delay)
&lt;br&gt;It took some time to do it, but it's done.
&lt;br&gt;Check it out.
&lt;br&gt;Now the routes() sub registers all the runmodes declared, in the setup
&lt;br&gt;stage. So, there's no need to register the runmodes in prerun.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://github.com/Porta/cgi--application--plugin--routes/tree/master/lib/CGI/Application/Plugin/Routes.pm#LC34&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://github.com/Porta/cgi--application--plugin--routes/tree/master/lib/CGI/Application/Plugin/Routes.pm#LC34&lt;/a&gt;&lt;br&gt;&lt;br&gt;I think it's ready to go.
&lt;br&gt;&lt;br&gt;Thoughts?
&lt;br&gt;&lt;br&gt;On Sat, Sep 27, 2008 at 1:25 PM, Mark Stosberg &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19851254&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mark@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Sorry, but I didn't understood this last sentence:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; The fix is to immediately the routes table when we call &amp;quot;routes&amp;quot; in
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; setup, and register the run modes there, not each time we are in the
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; pre-run callback.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm sorry, my grammar was poor. I meant &amp;quot;immediately *process* the
&lt;br&gt;&amp;gt; routes table when we call routes() in setup(). We'll register the run
&lt;br&gt;&amp;gt; modes all at once there, instead of dynamically in the prerun()
&lt;br&gt;&amp;gt; callback.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks for your continued work on this Julian!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Mark
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://mark.stosberg.com/blog&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mark.stosberg.com/blog&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ##### &amp;nbsp;CGI::Application community mailing list &amp;nbsp;################
&lt;br&gt;&amp;gt; ## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;&amp;gt; ## &amp;nbsp;To unsubscribe, or change your message delivery options, &amp;nbsp;##
&lt;br&gt;&amp;gt; ## &amp;nbsp;visit: &amp;nbsp;&lt;a href=&quot;http://www.erlbaum.net/mailman/listinfo/cgiapp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/mailman/listinfo/cgiapp&lt;/a&gt;&amp;nbsp; &amp;nbsp; ##
&lt;br&gt;&amp;gt; ## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;&amp;gt; ## &amp;nbsp;Web archive: &amp;nbsp; &lt;a href=&quot;http://www.erlbaum.net/pipermail/cgiapp/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/pipermail/cgiapp/&lt;/a&gt;&amp;nbsp; &amp;nbsp;##
&lt;br&gt;&amp;gt; ## &amp;nbsp;Wiki: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://cgiapp.erlbaum.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cgiapp.erlbaum.net/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;&amp;gt; ## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;&amp;gt; ################################################################
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;##### &amp;nbsp;CGI::Application community mailing list &amp;nbsp;################
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;To unsubscribe, or change your message delivery options, &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;visit: &amp;nbsp;&lt;a href=&quot;http://www.erlbaum.net/mailman/listinfo/cgiapp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/mailman/listinfo/cgiapp&lt;/a&gt;&amp;nbsp; &amp;nbsp; ##
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;Web archive: &amp;nbsp; &lt;a href=&quot;http://www.erlbaum.net/pipermail/cgiapp/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/pipermail/cgiapp/&lt;/a&gt;&amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;Wiki: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://cgiapp.erlbaum.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cgiapp.erlbaum.net/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;################################################################
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/cgiapp%40lists.erlbaum.net-f13613.html&quot; embed=&quot;fixTarget[13613]&quot; target=&quot;_top&quot; &gt;cgiapp@lists.erlbaum.net&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/New-plugin-idea-based-inspired-on-CA-Dispatch.-tp19585810p19851254.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19826177</id>
	<title>Re: Combining DBIx::Simple and CGI::Session</title>
	<published>2008-10-05T09:14:23Z</published>
	<updated>2008-10-05T09:14:23Z</updated>
	<author>
		<name>Mark Stosberg</name>
	</author>
	<content type="html">&lt;div class='shrinkable-quote'&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; Use 2 handles, 1 via DBIx::Simple for all normal queries, and 1 &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; via DBI
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; just for use with CGI::Session?
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; Actually, another possibility is to use 2 DBIx::Simple-based &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; handles,
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; one for all normal queries, and one to pass to CGI::Session but &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; not ever
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; use via DBIx::Simple.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; I asked the author about this. I think it's not that the dual-life
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; My recommendation is to share the handle between DBIx::Simple and
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; CGI::Simple and test that your application doesn't blow up.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; OK. Thanx for checking.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Is there a risk that a transaction will span the app and the session &amp;nbsp;
&lt;br&gt;&amp;gt; with a single connection? You may wish to rollback one and commit the &amp;nbsp;
&lt;br&gt;&amp;gt; other...
&lt;/div&gt;&lt;br&gt;I can't see how this would come up without some intentionally bad
&lt;br&gt;design. 
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Mark
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&lt;a href=&quot;http://mark.stosberg.com/bike&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mark.stosberg.com/bike&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;##### &amp;nbsp;CGI::Application community mailing list &amp;nbsp;################
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;To unsubscribe, or change your message delivery options, &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;visit: &amp;nbsp;&lt;a href=&quot;http://www.erlbaum.net/mailman/listinfo/cgiapp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/mailman/listinfo/cgiapp&lt;/a&gt;&amp;nbsp; &amp;nbsp; ##
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;Web archive: &amp;nbsp; &lt;a href=&quot;http://www.erlbaum.net/pipermail/cgiapp/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/pipermail/cgiapp/&lt;/a&gt;&amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;Wiki: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://cgiapp.erlbaum.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cgiapp.erlbaum.net/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;################################################################
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/cgiapp%40lists.erlbaum.net-f13613.html&quot; embed=&quot;fixTarget[13613]&quot; target=&quot;_top&quot; &gt;cgiapp@lists.erlbaum.net&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Combining-DBIx%3A%3ASimple-and-CGI%3A%3ASession-tp19753631p19826177.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19826098</id>
	<title>Re: New Plugin: RunmodeDeclare</title>
	<published>2008-10-05T09:07:43Z</published>
	<updated>2008-10-05T09:07:43Z</updated>
	<author>
		<name>Mark Stosberg</name>
	</author>
	<content type="html">&amp;gt; I haven't had time to go and try it out [yet], but I'm curious.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If I have something like this:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; startmode begin { &amp;quot;Here&amp;quot; }
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; and I'm running my app under perl -d, can I set a breakpoint in the
&lt;br&gt;&amp;gt; sub named begin, or is there magic happening that means that there's
&lt;br&gt;&amp;gt; no actual sub named begin?
&lt;br&gt;&lt;br&gt;From related docs:
&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;quot;This totally breaks the debugger. Will have to wait on Devel::Declare fixes.&amp;quot;
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://search.cpan.org/~mschwern/Method-Signatures-0.11/lib/Method/Signatures.pm#Debugging&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://search.cpan.org/~mschwern/Method-Signatures-0.11/lib/Method/Signatures.pm#Debugging&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Mark
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;##### &amp;nbsp;CGI::Application community mailing list &amp;nbsp;################
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;To unsubscribe, or change your message delivery options, &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;visit: &amp;nbsp;&lt;a href=&quot;http://www.erlbaum.net/mailman/listinfo/cgiapp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/mailman/listinfo/cgiapp&lt;/a&gt;&amp;nbsp; &amp;nbsp; ##
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;Web archive: &amp;nbsp; &lt;a href=&quot;http://www.erlbaum.net/pipermail/cgiapp/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/pipermail/cgiapp/&lt;/a&gt;&amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;Wiki: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://cgiapp.erlbaum.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cgiapp.erlbaum.net/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;################################################################
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/cgiapp%40lists.erlbaum.net-f13613.html&quot; embed=&quot;fixTarget[13613]&quot; target=&quot;_top&quot; &gt;cgiapp@lists.erlbaum.net&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/New-Plugin%3A-RunmodeDeclare-tp19699708p19826098.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19792938</id>
	<title>Re: Re: Combining DBIx::Simple and CGI::Session</title>
	<published>2008-10-02T23:48:02Z</published>
	<updated>2008-10-02T23:48:02Z</updated>
	<author>
		<name>Dan Horne</name>
	</author>
	<content type="html">&lt;br&gt;On 2/10/2008, at 03:45 PM, Ron Savage wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Mark
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Wed, 2008-10-01 at 22:05 -0400, Mark Stosberg wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; The docs for DBIx::Simple cleary warn about using the dbh() &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; method to
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; get the db handle for use outside DBIx::Simple.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; And yet, with CGI::Session, if I pass in a handle (returned from
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; DBIx::Simple or otherwise), I know CGI::Session will be doing &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; queries
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; whenever it feels like it.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; So, what to people do?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Use 2 handles, 1 via DBIx::Simple for all normal queries, and 1 &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; via DBI
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; just for use with CGI::Session?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Actually, another possibility is to use 2 DBIx::Simple-based &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; handles,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; one for all normal queries, and one to pass to CGI::Session but &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; not ever
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; use via DBIx::Simple.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I asked the author about this. I think it's not that the dual-life
&lt;br&gt;&amp;gt;&amp;gt; handle causes problems inherinently, it's more of a &amp;quot;know what you &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; are
&lt;br&gt;&amp;gt;&amp;gt; doing&amp;quot; situation. If I recall the specific issue, DBIx::Simple does &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; it's
&lt;br&gt;&amp;gt;&amp;gt; own garbage collection, and you are encouraged to not mess that up,
&lt;br&gt;&amp;gt;&amp;gt; which shouldn't be too hard.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Recommendations?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; My recommendation is to share the handle between DBIx::Simple and
&lt;br&gt;&amp;gt;&amp;gt; CGI::Simple and test that your application doesn't blow up.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; OK. Thanx for checking.
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;Is there a risk that a transaction will span the app and the session &amp;nbsp;
&lt;br&gt;with a single connection? You may wish to rollback one and commit the &amp;nbsp;
&lt;br&gt;other...
&lt;br&gt;&lt;br&gt;##### &amp;nbsp;CGI::Application community mailing list &amp;nbsp;################
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;To unsubscribe, or change your message delivery options, &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;visit: &amp;nbsp;&lt;a href=&quot;http://www.erlbaum.net/mailman/listinfo/cgiapp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/mailman/listinfo/cgiapp&lt;/a&gt;&amp;nbsp; &amp;nbsp; ##
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;Web archive: &amp;nbsp; &lt;a href=&quot;http://www.erlbaum.net/pipermail/cgiapp/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/pipermail/cgiapp/&lt;/a&gt;&amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;Wiki: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://cgiapp.erlbaum.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cgiapp.erlbaum.net/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;################################################################
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/cgiapp%40lists.erlbaum.net-f13613.html&quot; embed=&quot;fixTarget[13613]&quot; target=&quot;_top&quot; &gt;cgiapp@lists.erlbaum.net&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Combining-DBIx%3A%3ASimple-and-CGI%3A%3ASession-tp19753631p19792938.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19791551</id>
	<title>Re: New Plugin: RunmodeDeclare</title>
	<published>2008-10-02T20:30:38Z</published>
	<updated>2008-10-02T20:30:38Z</updated>
	<author>
		<name>George Hartzell-2</name>
	</author>
	<content type="html">Mark Stosberg writes:
&lt;br&gt;&amp;nbsp;&amp;gt; 
&lt;br&gt;&amp;nbsp;&amp;gt; As Rhesa proposed, he has followed through and released a plugin to add the
&lt;br&gt;&amp;nbsp;&amp;gt; Devel::Declare / Method::Signatures magic to CGI::Application:
&lt;br&gt;&amp;nbsp;&amp;gt; 
&lt;br&gt;&amp;nbsp;&amp;gt; &lt;a href=&quot;http://search.cpan.org/perldoc?CGI::Application::Plugin::RunmodeDeclare&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://search.cpan.org/perldoc?CGI::Application::Plugin::RunmodeDeclare&lt;/a&gt;&lt;br&gt;&amp;nbsp;&amp;gt; 
&lt;br&gt;&amp;nbsp;&amp;gt; Used in combination with Method::Signatures, this approach can noticably shorten
&lt;br&gt;&amp;nbsp;&amp;gt; the amount of code you need to write, shrinking your 'setup()' routine and reducing
&lt;br&gt;&amp;nbsp;&amp;gt; &amp;quot;busy work&amp;quot; of writing &amp;quot;my $self = shift;&amp;quot; and unpacking other parameters. 
&lt;br&gt;&amp;nbsp;&amp;gt; 
&lt;br&gt;&amp;nbsp;&amp;gt; For a comparison, I refactored the simple &amp;quot;widget&amp;quot; example from the
&lt;br&gt;&amp;nbsp;&amp;gt; CGI::Application documentation. The result was about 15% fewer lines of code.
&lt;br&gt;&amp;nbsp;&amp;gt; 
&lt;br&gt;&amp;nbsp;&amp;gt; Take a look for yourself at the RunmodeDeclare plugin
&lt;br&gt;&amp;nbsp;&amp;gt; [...]
&lt;br&gt;&lt;br&gt;I haven't had time to go and try it out [yet], but I'm curious.
&lt;br&gt;&lt;br&gt;If I have something like this:
&lt;br&gt;&lt;br&gt;&amp;nbsp; startmode begin { &amp;quot;Here&amp;quot; }
&lt;br&gt;&lt;br&gt;and I'm running my app under perl -d, can I set a breakpoint in the
&lt;br&gt;sub named begin, or is there magic happening that means that there's
&lt;br&gt;no actual sub named begin?
&lt;br&gt;&lt;br&gt;g.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;##### &amp;nbsp;CGI::Application community mailing list &amp;nbsp;################
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;To unsubscribe, or change your message delivery options, &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;visit: &amp;nbsp;&lt;a href=&quot;http://www.erlbaum.net/mailman/listinfo/cgiapp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/mailman/listinfo/cgiapp&lt;/a&gt;&amp;nbsp; &amp;nbsp; ##
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;Web archive: &amp;nbsp; &lt;a href=&quot;http://www.erlbaum.net/pipermail/cgiapp/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/pipermail/cgiapp/&lt;/a&gt;&amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;Wiki: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://cgiapp.erlbaum.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cgiapp.erlbaum.net/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;################################################################
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/cgiapp%40lists.erlbaum.net-f13613.html&quot; embed=&quot;fixTarget[13613]&quot; target=&quot;_top&quot; &gt;cgiapp@lists.erlbaum.net&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/New-Plugin%3A-RunmodeDeclare-tp19699708p19791551.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19772571</id>
	<title>Re: Re: Combining DBIx::Simple and CGI::Session</title>
	<published>2008-10-01T19:45:58Z</published>
	<updated>2008-10-01T19:45:58Z</updated>
	<author>
		<name>Ron Savage</name>
	</author>
	<content type="html">Hi Mark
&lt;br&gt;&lt;br&gt;On Wed, 2008-10-01 at 22:05 -0400, Mark Stosberg wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; The docs for DBIx::Simple cleary warn about using the dbh() method to
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; get the db handle for use outside DBIx::Simple.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; And yet, with CGI::Session, if I pass in a handle (returned from
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; DBIx::Simple or otherwise), I know CGI::Session will be doing queries
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; whenever it feels like it.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; So, what to people do?
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Use 2 handles, 1 via DBIx::Simple for all normal queries, and 1 via DBI
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; just for use with CGI::Session?
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Actually, another possibility is to use 2 DBIx::Simple-based handles,
&lt;br&gt;&amp;gt; &amp;gt; one for all normal queries, and one to pass to CGI::Session but not ever
&lt;br&gt;&amp;gt; &amp;gt; use via DBIx::Simple.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I asked the author about this. I think it's not that the dual-life
&lt;br&gt;&amp;gt; handle causes problems inherinently, it's more of a &amp;quot;know what you are
&lt;br&gt;&amp;gt; doing&amp;quot; situation. If I recall the specific issue, DBIx::Simple does it's
&lt;br&gt;&amp;gt; own garbage collection, and you are encouraged to not mess that up,
&lt;br&gt;&amp;gt; which shouldn't be too hard.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Recommendations?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; My recommendation is to share the handle between DBIx::Simple and
&lt;br&gt;&amp;gt; CGI::Simple and test that your application doesn't blow up.
&lt;/div&gt;&lt;br&gt;OK. Thanx for checking.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Ron Savage
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19772571&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ron@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://savage.net.au/index.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savage.net.au/index.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;##### &amp;nbsp;CGI::Application community mailing list &amp;nbsp;################
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;To unsubscribe, or change your message delivery options, &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;visit: &amp;nbsp;&lt;a href=&quot;http://www.erlbaum.net/mailman/listinfo/cgiapp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/mailman/listinfo/cgiapp&lt;/a&gt;&amp;nbsp; &amp;nbsp; ##
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;Web archive: &amp;nbsp; &lt;a href=&quot;http://www.erlbaum.net/pipermail/cgiapp/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/pipermail/cgiapp/&lt;/a&gt;&amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;Wiki: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://cgiapp.erlbaum.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cgiapp.erlbaum.net/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;################################################################
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/cgiapp%40lists.erlbaum.net-f13613.html&quot; embed=&quot;fixTarget[13613]&quot; target=&quot;_top&quot; &gt;cgiapp@lists.erlbaum.net&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Combining-DBIx%3A%3ASimple-and-CGI%3A%3ASession-tp19753631p19772571.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19772317</id>
	<title>Re: Combining DBIx::Simple and CGI::Session</title>
	<published>2008-10-01T19:05:40Z</published>
	<updated>2008-10-01T19:05:40Z</updated>
	<author>
		<name>Mark Stosberg</name>
	</author>
	<content type="html">&lt;div class='shrinkable-quote'&gt;&amp;gt; &amp;gt; The docs for DBIx::Simple cleary warn about using the dbh() method to
&lt;br&gt;&amp;gt; &amp;gt; get the db handle for use outside DBIx::Simple.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; And yet, with CGI::Session, if I pass in a handle (returned from
&lt;br&gt;&amp;gt; &amp;gt; DBIx::Simple or otherwise), I know CGI::Session will be doing queries
&lt;br&gt;&amp;gt; &amp;gt; whenever it feels like it.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; So, what to people do?
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Use 2 handles, 1 via DBIx::Simple for all normal queries, and 1 via DBI
&lt;br&gt;&amp;gt; &amp;gt; just for use with CGI::Session?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Actually, another possibility is to use 2 DBIx::Simple-based handles,
&lt;br&gt;&amp;gt; one for all normal queries, and one to pass to CGI::Session but not ever
&lt;br&gt;&amp;gt; use via DBIx::Simple.
&lt;/div&gt;&lt;br&gt;I asked the author about this. I think it's not that the dual-life
&lt;br&gt;handle causes problems inherinently, it's more of a &amp;quot;know what you are
&lt;br&gt;doing&amp;quot; situation. If I recall the specific issue, DBIx::Simple does it's
&lt;br&gt;own garbage collection, and you are encouraged to not mess that up,
&lt;br&gt;which shouldn't be too hard.
&lt;br&gt;&lt;br&gt;&amp;gt; Recommendations?
&lt;br&gt;&lt;br&gt;My recommendation is to share the handle between DBIx::Simple and
&lt;br&gt;CGI::Simple and test that your application doesn't blow up.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Mark
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&lt;a href=&quot;http://mark.stosberg.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mark.stosberg.com/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;##### &amp;nbsp;CGI::Application community mailing list &amp;nbsp;################
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;To unsubscribe, or change your message delivery options, &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;visit: &amp;nbsp;&lt;a href=&quot;http://www.erlbaum.net/mailman/listinfo/cgiapp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/mailman/listinfo/cgiapp&lt;/a&gt;&amp;nbsp; &amp;nbsp; ##
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;Web archive: &amp;nbsp; &lt;a href=&quot;http://www.erlbaum.net/pipermail/cgiapp/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/pipermail/cgiapp/&lt;/a&gt;&amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;Wiki: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://cgiapp.erlbaum.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cgiapp.erlbaum.net/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;################################################################
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/cgiapp%40lists.erlbaum.net-f13613.html&quot; embed=&quot;fixTarget[13613]&quot; target=&quot;_top&quot; &gt;cgiapp@lists.erlbaum.net&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Combining-DBIx%3A%3ASimple-and-CGI%3A%3ASession-tp19753631p19772317.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19753651</id>
	<title>Re: Combining DBIx::Simple and CGI::Session</title>
	<published>2008-09-30T19:36:19Z</published>
	<updated>2008-09-30T19:36:19Z</updated>
	<author>
		<name>Ron Savage</name>
	</author>
	<content type="html">Hi Ron
&lt;br&gt;&lt;br&gt;On Wed, 2008-10-01 at 12:33 +1000, Ron Savage wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Folks
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The docs for DBIx::Simple cleary warn about using the dbh() method to
&lt;br&gt;&amp;gt; get the db handle for use outside DBIx::Simple.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; And yet, with CGI::Session, if I pass in a handle (returned from
&lt;br&gt;&amp;gt; DBIx::Simple or otherwise), I know CGI::Session will be doing queries
&lt;br&gt;&amp;gt; whenever it feels like it.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; So, what to people do?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Use 2 handles, 1 via DBIx::Simple for all normal queries, and 1 via DBI
&lt;br&gt;&amp;gt; just for use with CGI::Session?
&lt;/div&gt;&lt;br&gt;Actually, another possibility is to use 2 DBIx::Simple-based handles,
&lt;br&gt;one for all normal queries, and one to pass to CGI::Session but not ever
&lt;br&gt;use via DBIx::Simple.
&lt;br&gt;&lt;br&gt;Recommendations?
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Ron Savage
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19753651&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ron@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://savage.net.au/index.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savage.net.au/index.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;##### &amp;nbsp;CGI::Application community mailing list &amp;nbsp;################
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;To unsubscribe, or change your message delivery options, &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;visit: &amp;nbsp;&lt;a href=&quot;http://www.erlbaum.net/mailman/listinfo/cgiapp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/mailman/listinfo/cgiapp&lt;/a&gt;&amp;nbsp; &amp;nbsp; ##
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;Web archive: &amp;nbsp; &lt;a href=&quot;http://www.erlbaum.net/pipermail/cgiapp/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/pipermail/cgiapp/&lt;/a&gt;&amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;Wiki: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://cgiapp.erlbaum.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cgiapp.erlbaum.net/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;################################################################
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/cgiapp%40lists.erlbaum.net-f13613.html&quot; embed=&quot;fixTarget[13613]&quot; target=&quot;_top&quot; &gt;cgiapp@lists.erlbaum.net&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Combining-DBIx%3A%3ASimple-and-CGI%3A%3ASession-tp19753631p19753651.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19753631</id>
	<title>Combining DBIx::Simple and CGI::Session</title>
	<published>2008-09-30T19:33:46Z</published>
	<updated>2008-09-30T19:33:46Z</updated>
	<author>
		<name>Ron Savage</name>
	</author>
	<content type="html">Hi Folks
&lt;br&gt;&lt;br&gt;The docs for DBIx::Simple cleary warn about using the dbh() method to
&lt;br&gt;get the db handle for use outside DBIx::Simple.
&lt;br&gt;&lt;br&gt;And yet, with CGI::Session, if I pass in a handle (returned from
&lt;br&gt;DBIx::Simple or otherwise), I know CGI::Session will be doing queries
&lt;br&gt;whenever it feels like it.
&lt;br&gt;&lt;br&gt;So, what to people do?
&lt;br&gt;&lt;br&gt;Use 2 handles, 1 via DBIx::Simple for all normal queries, and 1 via DBI
&lt;br&gt;just for use with CGI::Session?
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Ron Savage
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19753631&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ron@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://savage.net.au/index.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savage.net.au/index.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;##### &amp;nbsp;CGI::Application community mailing list &amp;nbsp;################
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;To unsubscribe, or change your message delivery options, &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;visit: &amp;nbsp;&lt;a href=&quot;http://www.erlbaum.net/mailman/listinfo/cgiapp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/mailman/listinfo/cgiapp&lt;/a&gt;&amp;nbsp; &amp;nbsp; ##
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;Web archive: &amp;nbsp; &lt;a href=&quot;http://www.erlbaum.net/pipermail/cgiapp/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/pipermail/cgiapp/&lt;/a&gt;&amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;Wiki: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://cgiapp.erlbaum.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cgiapp.erlbaum.net/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;################################################################
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/cgiapp%40lists.erlbaum.net-f13613.html&quot; embed=&quot;fixTarget[13613]&quot; target=&quot;_top&quot; &gt;cgiapp@lists.erlbaum.net&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Combining-DBIx%3A%3ASimple-and-CGI%3A%3ASession-tp19753631p19753631.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19752552</id>
	<title>End of Days</title>
	<published>2008-09-30T17:04:21Z</published>
	<updated>2008-09-30T17:04:21Z</updated>
	<author>
		<name>Phillip Hayes</name>
	</author>
	<content type="html">&lt;br&gt;I will be out of the office starting &amp;nbsp;30/09/2008 and will not return until
&lt;br&gt;30/09/2009.
&lt;br&gt;&lt;br&gt;Folks,
&lt;br&gt;&lt;br&gt;Thanks for the email, however, my tenure here has come to a timely end. You
&lt;br&gt;can contact me at: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19752552&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phil.a.hayes@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;Best wishes for the future,
&lt;br&gt;&lt;br&gt;Phl.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;**********************************************************************
&lt;br&gt;&lt;br&gt;This e-mail and any attachment is intended for the named addressee(s) only, or person authorised to receive it on their behalf. The content may be privileged and should be treated as confidential and the recipient may not disclose this message or any attachment to anyone else without authorisation. Unauthorised use, copying or disclosure may be unlawful. If this transmission is received in error please notify the sender immediately and delete this message from your e-mail system. Any view expressed by the sender of this message or any attachment may be personal and may not represent the view held by TUI Travel PLC and its subsidiaries. All electronic transmissions to and from TUI Travel are recorded, may be monitored and are scanned for viruses and content. E-mails containing viruses will be deleted without notification. Whilst we maintain virus checks on inbound e-mails we accept no liability for viruses or other material introduced with this message.
&lt;br&gt;&lt;br&gt;All companies form part of the TUI Travel PLC group of companies.
&lt;br&gt;&lt;br&gt;TUI Travel PLC Company Registration No: 6072876 (England)
&lt;br&gt;&lt;br&gt;Registered Office: TUI Travel House, Crawley Business Quarter, Fleming Way, Crawley, West Sussex RH10 9QL
&lt;br&gt;&lt;br&gt;&lt;br&gt;##### &amp;nbsp;CGI::Application community mailing list &amp;nbsp;################
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;To unsubscribe, or change your message delivery options, &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;visit: &amp;nbsp;&lt;a href=&quot;http://www.erlbaum.net/mailman/listinfo/cgiapp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/mailman/listinfo/cgiapp&lt;/a&gt;&amp;nbsp; &amp;nbsp; ##
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;Web archive: &amp;nbsp; &lt;a href=&quot;http://www.erlbaum.net/pipermail/cgiapp/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/pipermail/cgiapp/&lt;/a&gt;&amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;Wiki: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://cgiapp.erlbaum.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cgiapp.erlbaum.net/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;################################################################
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/cgiapp%40lists.erlbaum.net-f13613.html&quot; embed=&quot;fixTarget[13613]&quot; target=&quot;_top&quot; &gt;cgiapp@lists.erlbaum.net&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/End-of-Days-tp19752552p19752552.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19749221</id>
	<title>CAD table placed in external config file</title>
	<published>2008-09-30T12:54:29Z</published>
	<updated>2008-09-30T12:54:29Z</updated>
	<author>
		<name>Porta-2</name>
	</author>
	<content type="html">... So you don't really need to touch your Dispatch module and you can
&lt;br&gt;just deal with a simple config file
&lt;br&gt;&lt;br&gt;Anyone tried it? Any success story?
&lt;br&gt;&lt;br&gt;Thanks.
&lt;br&gt;&lt;br&gt;Porta.
&lt;br&gt;&lt;br&gt;##### &amp;nbsp;CGI::Application community mailing list &amp;nbsp;################
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;To unsubscribe, or change your message delivery options, &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;visit: &amp;nbsp;&lt;a href=&quot;http://www.erlbaum.net/mailman/listinfo/cgiapp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/mailman/listinfo/cgiapp&lt;/a&gt;&amp;nbsp; &amp;nbsp; ##
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;Web archive: &amp;nbsp; &lt;a href=&quot;http://www.erlbaum.net/pipermail/cgiapp/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/pipermail/cgiapp/&lt;/a&gt;&amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;Wiki: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://cgiapp.erlbaum.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cgiapp.erlbaum.net/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;################################################################
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/cgiapp%40lists.erlbaum.net-f13613.html&quot; embed=&quot;fixTarget[13613]&quot; target=&quot;_top&quot; &gt;cgiapp@lists.erlbaum.net&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/CAD-table-placed-in-external-config-file-tp19749221p19749221.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19727061</id>
	<title>Re: ($self vs $c) was: Re: New Plugin: RunmodeDeclare</title>
	<published>2008-09-29T09:22:10Z</published>
	<updated>2008-09-29T09:22:10Z</updated>
	<author>
		<name>Joshua Miller-3</name>
	</author>
	<content type="html">One more vote for $self.
&lt;br&gt;&lt;br&gt;My reasoning - I've inherited a few projects that use something other than
&lt;br&gt;$self, and each had decided it was smarter than sticking to the standard
&lt;br&gt;$self. Try to integrate those, and not constantly forget on which module
&lt;br&gt;you're currently working! And now, a bunch of that project is new,
&lt;br&gt;converted, or imported code using &amp;quot;$self&amp;quot;, an awful lot is still using
&lt;br&gt;&amp;quot;$this&amp;quot; (they were php immigrants), and there's a few random places that try
&lt;br&gt;to type less and use something like &amp;quot;$c&amp;quot; or &amp;quot;$s&amp;quot;.
&lt;br&gt;&lt;br&gt;If one wants to adopt a standard of using &amp;quot;$c&amp;quot; in place of &amp;quot;$self&amp;quot; across
&lt;br&gt;their own project, I have no problem with that - it's one of the great
&lt;br&gt;things about perl, more than one way to do it and all that. But for stuff
&lt;br&gt;meant for the general population of CPAN, 3 extra characters won't kill
&lt;br&gt;anyone. At the very least, for the docs.
&lt;br&gt;&lt;br&gt;As for $t, maybe it's just me, but that's my first choice for any
&lt;br&gt;short-lived temp variables, so I've stuck to $tmpl for the template object.
&lt;br&gt;Reads better to me, and hopefully to the next maintainer. YMMV
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Josh I.
&lt;br&gt;&lt;br&gt;On Mon, Sep 29, 2008 at 11:39 AM, Richard Jones &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19727061&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ra.jones@...&lt;/a&gt;&amp;gt;wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Michael Peters wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Richard Jones wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;Actually prefer $c these days as a) it's shorter and therefore quicker
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; and less easy to mis-spell (I seem to type slef more often than self), but
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; more importantly, having done a lot of work with Catalyst recently, that's
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; the Cat standard also, so it's familiar to me.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; This actually came up in our discussions and we thought it would cause
&lt;br&gt;&amp;gt;&amp;gt; more confusion since in Catalyst the $c is not $self. It's a different
&lt;br&gt;&amp;gt;&amp;gt; object entirely. So calling it $c in C::A land might confuse the catalyst
&lt;br&gt;&amp;gt;&amp;gt; folks since it's really $self just shorter. Also, for folks playing with
&lt;br&gt;&amp;gt;&amp;gt; Titanium (which btw, does not have a friendly abbreviation :) do you plan on
&lt;br&gt;&amp;gt;&amp;gt; still using $c? Or will you go with $t?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; Yes it's true it could be confusing as we won't need to *manually* shift
&lt;br&gt;&amp;gt; the class object into a variable any more, so the self-documenting nature of
&lt;br&gt;&amp;gt; this step is effectively lost to the unfamiliar observer.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; For me though, I still think I prefer the shorter form as it's used in all
&lt;br&gt;&amp;gt; rms and sometimes multiple times within an rm. And providing it doesn't
&lt;br&gt;&amp;gt; clash with any other abbreviated variable name and its use is consistent
&lt;br&gt;&amp;gt; throughout I think it should be OK. Personally I'd be happy to use $t for
&lt;br&gt;&amp;gt; the Titanium object since the letter 't' is even closer to the '$' key than
&lt;br&gt;&amp;gt; is the letter 'c' ;)
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Richard Jones
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ##### &amp;nbsp;CGI::Application community mailing list &amp;nbsp;################
&lt;br&gt;&amp;gt; ## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;&amp;gt; ## &amp;nbsp;To unsubscribe, or change your message delivery options, &amp;nbsp;##
&lt;br&gt;&amp;gt; ## &amp;nbsp;visit: &amp;nbsp;&lt;a href=&quot;http://www.erlbaum.net/mailman/listinfo/cgiapp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/mailman/listinfo/cgiapp&lt;/a&gt;&amp;nbsp; &amp;nbsp; ##
&lt;br&gt;&amp;gt; ## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;&amp;gt; ## &amp;nbsp;Web archive: &amp;nbsp; &lt;a href=&quot;http://www.erlbaum.net/pipermail/cgiapp/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/pipermail/cgiapp/&lt;/a&gt;&amp;nbsp; &amp;nbsp;##
&lt;br&gt;&amp;gt; ## &amp;nbsp;Wiki: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://cgiapp.erlbaum.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cgiapp.erlbaum.net/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;&amp;gt; ## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;&amp;gt; ################################################################
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;##### &amp;nbsp;CGI::Application community mailing list &amp;nbsp;################
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;To unsubscribe, or change your message delivery options, &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;visit: &amp;nbsp;&lt;a href=&quot;http://www.erlbaum.net/mailman/listinfo/cgiapp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/mailman/listinfo/cgiapp&lt;/a&gt;&amp;nbsp; &amp;nbsp; ##
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;Web archive: &amp;nbsp; &lt;a href=&quot;http://www.erlbaum.net/pipermail/cgiapp/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/pipermail/cgiapp/&lt;/a&gt;&amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;Wiki: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://cgiapp.erlbaum.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cgiapp.erlbaum.net/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;################################################################
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/cgiapp%40lists.erlbaum.net-f13613.html&quot; embed=&quot;fixTarget[13613]&quot; target=&quot;_top&quot; &gt;cgiapp@lists.erlbaum.net&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/New-Plugin%3A-RunmodeDeclare-tp19699708p19727061.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19726279</id>
	<title>Re: ($self vs $c) was: Re: New Plugin: RunmodeDeclare</title>
	<published>2008-09-29T08:39:16Z</published>
	<updated>2008-09-29T08:39:16Z</updated>
	<author>
		<name>Richard Jones-18</name>
	</author>
	<content type="html">Michael Peters wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Richard Jones wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Actually prefer $c these days as a) it's shorter and therefore quicker 
&lt;br&gt;&amp;gt;&amp;gt; and less easy to mis-spell (I seem to type slef more often than self), 
&lt;br&gt;&amp;gt;&amp;gt; but more importantly, having done a lot of work with Catalyst 
&lt;br&gt;&amp;gt;&amp;gt; recently, that's the Cat standard also, so it's familiar to me.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This actually came up in our discussions and we thought it would cause 
&lt;br&gt;&amp;gt; more confusion since in Catalyst the $c is not $self. It's a different 
&lt;br&gt;&amp;gt; object entirely. So calling it $c in C::A land might confuse the 
&lt;br&gt;&amp;gt; catalyst folks since it's really $self just shorter. Also, for folks 
&lt;br&gt;&amp;gt; playing with Titanium (which btw, does not have a friendly abbreviation 
&lt;br&gt;&amp;gt; :) do you plan on still using $c? Or will you go with $t?
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;Yes it's true it could be confusing as we won't need to *manually* shift 
&lt;br&gt;the class object into a variable any more, so the self-documenting 
&lt;br&gt;nature of this step is effectively lost to the unfamiliar observer.
&lt;br&gt;&lt;br&gt;For me though, I still think I prefer the shorter form as it's used in 
&lt;br&gt;all rms and sometimes multiple times within an rm. And providing it 
&lt;br&gt;doesn't clash with any other abbreviated variable name and its use is 
&lt;br&gt;consistent throughout I think it should be OK. Personally I'd be happy 
&lt;br&gt;to use $t for the Titanium object since the letter 't' is even closer to 
&lt;br&gt;the '$' key than is the letter 'c' ;)
&lt;br&gt;-- 
&lt;br&gt;Richard Jones
&lt;br&gt;&lt;br&gt;##### &amp;nbsp;CGI::Application community mailing list &amp;nbsp;################
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;To unsubscribe, or change your message delivery options, &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;visit: &amp;nbsp;&lt;a href=&quot;http://www.erlbaum.net/mailman/listinfo/cgiapp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/mailman/listinfo/cgiapp&lt;/a&gt;&amp;nbsp; &amp;nbsp; ##
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;Web archive: &amp;nbsp; &lt;a href=&quot;http://www.erlbaum.net/pipermail/cgiapp/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/pipermail/cgiapp/&lt;/a&gt;&amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;Wiki: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://cgiapp.erlbaum.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cgiapp.erlbaum.net/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;################################################################
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/cgiapp%40lists.erlbaum.net-f13613.html&quot; embed=&quot;fixTarget[13613]&quot; target=&quot;_top&quot; &gt;cgiapp@lists.erlbaum.net&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/New-Plugin%3A-RunmodeDeclare-tp19699708p19726279.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19726204</id>
	<title>Re: ($self vs $c) was: Re: New Plugin: RunmodeDeclare</title>
	<published>2008-09-29T08:33:23Z</published>
	<updated>2008-09-29T08:33:23Z</updated>
	<author>
		<name>Mark Stosberg</name>
	</author>
	<content type="html">On Mon, 29 Sep 2008 09:14:43 -0400
&lt;br&gt;Michael Peters &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19726204&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mpeters@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; Richard Jones wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Actually prefer $c these days as a) it's shorter and therefore quicker 
&lt;br&gt;&amp;gt; &amp;gt; and less easy to mis-spell (I seem to type slef more often than self), 
&lt;br&gt;&amp;gt; &amp;gt; but more importantly, having done a lot of work with Catalyst recently, 
&lt;br&gt;&amp;gt; &amp;gt; that's the Cat standard also, so it's familiar to me.
&lt;br&gt;&lt;br&gt;Thanks for the feedback, everyone. The majority of opinions have been
&lt;br&gt;for &amp;quot;$self&amp;quot;, so I feel good about proceeding with the dev release for
&lt;br&gt;CGI::App which returns &amp;nbsp;to that. 
&lt;br&gt;&lt;br&gt;&amp;gt; This actually came up in our discussions and we thought it would cause more
&lt;br&gt;&amp;gt; confusion since in Catalyst the $c is not $self. It's a different object
&lt;br&gt;&amp;gt; entirely. So calling it $c in C::A land might confuse the catalyst folks
&lt;br&gt;&amp;gt; since it's really $self just shorter. Also, for folks playing with Titanium
&lt;br&gt;&amp;gt; (which btw, does not have a friendly abbreviation :) do you plan on still
&lt;br&gt;&amp;gt; using $c? Or will you go with $t?
&lt;br&gt;&lt;br&gt;Like Richard, I also found using &amp;quot;$c&amp;quot; being able to switch back and
&lt;br&gt;forth between looking at Catalyst code and CGI::App code. They use &amp;quot;$c&amp;quot;
&lt;br&gt;a lot like we use &amp;quot;$self&amp;quot;.
&lt;br&gt;&lt;br&gt;I haven't decided whether or not to keep recommending &amp;quot;$c&amp;quot; in Titanium.
&lt;br&gt;It's definitely a project that is more about reflecting personal taste,
&lt;br&gt;while CGI::App is more owned and shared by the community. My personal 
&lt;br&gt;taste still leans towards &amp;quot;$c&amp;quot; for my own work. 
&lt;br&gt;&lt;br&gt;I would not use &amp;quot;$t&amp;quot;, which has traditionally being used to represent
&lt;br&gt;the template object returned from load_tmpl(). ( I think even CGI::App
&lt;br&gt;documents it that way. )
&lt;br&gt;&lt;br&gt;Does anyone remember the source formatting in CGI::Application::Plus? 
&lt;br&gt;&lt;a href=&quot;http://search.cpan.org/src/DOMIZIO/CGI-Application-Plus-1.21/lib/CGI/Application/Plus.pm&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://search.cpan.org/src/DOMIZIO/CGI-Application-Plus-1.21/lib/CGI/Application/Plus.pm&lt;/a&gt;&lt;br&gt;&lt;br&gt;( For those new here, this is a fork that is *not* generally considered
&lt;br&gt;a &amp;quot;plus&amp;quot; ).
&lt;br&gt;&lt;br&gt;It left-aligns commas and semi-colons. &amp;nbsp;I actually agree with the
&lt;br&gt;sentiment that this style makes it easier to catch bugs with missing
&lt;br&gt;semi-colons. &amp;nbsp;
&lt;br&gt;&lt;br&gt;I sometimes use the technique in lists of SQL fields, where it is a bug
&lt;br&gt;to include an extra comma.
&lt;br&gt;&lt;br&gt;But I don't dare use the technique in Perl code, because it strays so
&lt;br&gt;far from the normal expected standards for code formatting.
&lt;br&gt;&lt;br&gt;While you may disagree about the code formatting example, it's an
&lt;br&gt;illustration for the broader point. Sometimes while it makes sense to
&lt;br&gt;follow a standard for the sake of having a standard (Hello, XML), there
&lt;br&gt;are times when the most widely accepted standards turn out not to be
&lt;br&gt;best choices if given the chance to start over.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Mark
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;##### &amp;nbsp;CGI::Application community mailing list &amp;nbsp;################
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;To unsubscribe, or change your message delivery options, &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;visit: &amp;nbsp;&lt;a href=&quot;http://www.erlbaum.net/mailman/listinfo/cgiapp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/mailman/listinfo/cgiapp&lt;/a&gt;&amp;nbsp; &amp;nbsp; ##
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;Web archive: &amp;nbsp; &lt;a href=&quot;http://www.erlbaum.net/pipermail/cgiapp/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/pipermail/cgiapp/&lt;/a&gt;&amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;Wiki: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://cgiapp.erlbaum.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cgiapp.erlbaum.net/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;################################################################
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/cgiapp%40lists.erlbaum.net-f13613.html&quot; embed=&quot;fixTarget[13613]&quot; target=&quot;_top&quot; &gt;cgiapp@lists.erlbaum.net&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/New-Plugin%3A-RunmodeDeclare-tp19699708p19726204.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19723919</id>
	<title>Re: Re: New Plugin: RunmodeDeclare</title>
	<published>2008-09-29T06:23:47Z</published>
	<updated>2008-09-29T06:23:47Z</updated>
	<author>
		<name>Michael Peters</name>
	</author>
	<content type="html">Rhesa Rozendaal wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; As for the order in which arguments are fetched, I don't mind swapping 
&lt;br&gt;&amp;gt; $self-&amp;gt;param and $q-&amp;gt;param in the fallback order. I don't have a 
&lt;br&gt;&amp;gt; practical use case either way. I only use $self-&amp;gt;param in this context 
&lt;br&gt;&amp;gt; when CA::Dispatch puts url components there. I thought you might 
&lt;br&gt;&amp;gt; sometimes want to override a url component with a form field, but I 
&lt;br&gt;&amp;gt; haven't seen that happen yet.
&lt;br&gt;&lt;br&gt;This is actually a security problem with fetching in the order it does now. It's similar to the PHP 
&lt;br&gt;bug where some config setting was turned on by default such that any query params automatically 
&lt;br&gt;became real variables in your program. This was fine unless you used one of those variables for 
&lt;br&gt;something else. This meant that anyone could craft a URL which would override a variable in your 
&lt;br&gt;program. Nasty things can happen.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Michael Peters
&lt;br&gt;Plus Three, LP
&lt;br&gt;&lt;br&gt;&lt;br&gt;##### &amp;nbsp;CGI::Application community mailing list &amp;nbsp;################
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;To unsubscribe, or change your message delivery options, &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;visit: &amp;nbsp;&lt;a href=&quot;http://www.erlbaum.net/mailman/listinfo/cgiapp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/mailman/listinfo/cgiapp&lt;/a&gt;&amp;nbsp; &amp;nbsp; ##
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;Web archive: &amp;nbsp; &lt;a href=&quot;http://www.erlbaum.net/pipermail/cgiapp/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/pipermail/cgiapp/&lt;/a&gt;&amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;Wiki: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://cgiapp.erlbaum.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cgiapp.erlbaum.net/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;################################################################
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/cgiapp%40lists.erlbaum.net-f13613.html&quot; embed=&quot;fixTarget[13613]&quot; target=&quot;_top&quot; &gt;cgiapp@lists.erlbaum.net&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/New-Plugin%3A-RunmodeDeclare-tp19699708p19723919.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19723706</id>
	<title>Re: ($self vs $c) was: Re: New Plugin: RunmodeDeclare</title>
	<published>2008-09-29T06:14:43Z</published>
	<updated>2008-09-29T06:14:43Z</updated>
	<author>
		<name>Michael Peters</name>
	</author>
	<content type="html">Richard Jones wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; Actually prefer $c these days as a) it's shorter and therefore quicker 
&lt;br&gt;&amp;gt; and less easy to mis-spell (I seem to type slef more often than self), 
&lt;br&gt;&amp;gt; but more importantly, having done a lot of work with Catalyst recently, 
&lt;br&gt;&amp;gt; that's the Cat standard also, so it's familiar to me.
&lt;br&gt;&lt;br&gt;This actually came up in our discussions and we thought it would cause more confusion since in 
&lt;br&gt;Catalyst the $c is not $self. It's a different object entirely. So calling it $c in C::A land might 
&lt;br&gt;confuse the catalyst folks since it's really $self just shorter. Also, for folks playing with 
&lt;br&gt;Titanium (which btw, does not have a friendly abbreviation :) do you plan on still using $c? Or will 
&lt;br&gt;you go with $t?
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Michael Peters
&lt;br&gt;Plus Three, LP
&lt;br&gt;&lt;br&gt;&lt;br&gt;##### &amp;nbsp;CGI::Application community mailing list &amp;nbsp;################
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;To unsubscribe, or change your message delivery options, &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;visit: &amp;nbsp;&lt;a href=&quot;http://www.erlbaum.net/mailman/listinfo/cgiapp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/mailman/listinfo/cgiapp&lt;/a&gt;&amp;nbsp; &amp;nbsp; ##
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;Web archive: &amp;nbsp; &lt;a href=&quot;http://www.erlbaum.net/pipermail/cgiapp/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/pipermail/cgiapp/&lt;/a&gt;&amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;Wiki: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://cgiapp.erlbaum.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cgiapp.erlbaum.net/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;################################################################
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/cgiapp%40lists.erlbaum.net-f13613.html&quot; embed=&quot;fixTarget[13613]&quot; target=&quot;_top&quot; &gt;cgiapp@lists.erlbaum.net&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/New-Plugin%3A-RunmodeDeclare-tp19699708p19723706.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19720372</id>
	<title>Re: ($self vs $c) was: Re: New Plugin: RunmodeDeclare</title>
	<published>2008-09-29T01:57:16Z</published>
	<updated>2008-09-29T01:57:16Z</updated>
	<author>
		<name>Richard Jones-18</name>
	</author>
	<content type="html">Mark Stosberg wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; Although I still prefer &amp;quot;$c&amp;quot; in my own code, I thought they made good
&lt;br&gt;&amp;gt; points, so I switched back from &amp;quot;$c&amp;quot; to &amp;quot;$self&amp;quot; in the docs and code of
&lt;br&gt;&amp;gt; the latest CGI::App dev release. 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; But I'm interested in more opinions on the issue. Richard, do you
&lt;br&gt;&amp;gt; particularlly prefer &amp;quot;$c&amp;quot;, or were you mostly following along the docs
&lt;br&gt;&amp;gt; that were updated to switch from &amp;quot;$self&amp;quot; to &amp;quot;$c&amp;quot; ?
&lt;br&gt;&lt;br&gt;Actually prefer $c these days as a) it's shorter and therefore quicker 
&lt;br&gt;and less easy to mis-spell (I seem to type slef more often than self), 
&lt;br&gt;but more importantly, having done a lot of work with Catalyst recently, 
&lt;br&gt;that's the Cat standard also, so it's familiar to me.
&lt;br&gt;-- 
&lt;br&gt;Richard Jones
&lt;br&gt;&lt;br&gt;##### &amp;nbsp;CGI::Application community mailing list &amp;nbsp;################
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;To unsubscribe, or change your message delivery options, &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;visit: &amp;nbsp;&lt;a href=&quot;http://www.erlbaum.net/mailman/listinfo/cgiapp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/mailman/listinfo/cgiapp&lt;/a&gt;&amp;nbsp; &amp;nbsp; ##
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;Web archive: &amp;nbsp; &lt;a href=&quot;http://www.erlbaum.net/pipermail/cgiapp/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/pipermail/cgiapp/&lt;/a&gt;&amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;Wiki: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://cgiapp.erlbaum.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cgiapp.erlbaum.net/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;################################################################
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/cgiapp%40lists.erlbaum.net-f13613.html&quot; embed=&quot;fixTarget[13613]&quot; target=&quot;_top&quot; &gt;cgiapp@lists.erlbaum.net&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/New-Plugin%3A-RunmodeDeclare-tp19699708p19720372.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19717724</id>
	<title>Re: ($self vs $c) was: Re: New Plugin: RunmodeDeclare</title>
	<published>2008-09-28T19:48:29Z</published>
	<updated>2008-09-28T19:48:29Z</updated>
	<author>
		<name>Ron Savage</name>
	</author>
	<content type="html">Hi Folks
&lt;br&gt;&lt;br&gt;&amp;gt; I'll toss in one vote for $self being much less Surprising, both to me
&lt;br&gt;&amp;gt; and to folks with whom I'm sharing code.
&lt;br&gt;&lt;br&gt;Yep. $self for me.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Ron Savage
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19717724&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ron@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://savage.net.au/index.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savage.net.au/index.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;##### &amp;nbsp;CGI::Application community mailing list &amp;nbsp;################
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;To unsubscribe, or change your message delivery options, &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;visit: &amp;nbsp;&lt;a href=&quot;http://www.erlbaum.net/mailman/listinfo/cgiapp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/mailman/listinfo/cgiapp&lt;/a&gt;&amp;nbsp; &amp;nbsp; ##
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;Web archive: &amp;nbsp; &lt;a href=&quot;http://www.erlbaum.net/pipermail/cgiapp/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/pipermail/cgiapp/&lt;/a&gt;&amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;Wiki: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://cgiapp.erlbaum.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cgiapp.erlbaum.net/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;################################################################
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/cgiapp%40lists.erlbaum.net-f13613.html&quot; embed=&quot;fixTarget[13613]&quot; target=&quot;_top&quot; &gt;cgiapp@lists.erlbaum.net&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/New-Plugin%3A-RunmodeDeclare-tp19699708p19717724.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19717299</id>
	<title>Re: ($self vs $c) was: Re: New Plugin: RunmodeDeclare</title>
	<published>2008-09-28T18:24:06Z</published>
	<updated>2008-09-28T18:24:06Z</updated>
	<author>
		<name>George Hartzell-2</name>
	</author>
	<content type="html">Mark Stosberg writes:
&lt;br&gt;&amp;nbsp;&amp;gt; On Mon, 29 Sep 2008 00:18:02 +0100
&lt;br&gt;&amp;nbsp;&amp;gt; Richard Jones &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19717299&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ra.jones@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;nbsp;&amp;gt; 
&lt;br&gt;&amp;nbsp;&amp;gt; &amp;gt; Mark Stosberg wrote:
&lt;br&gt;&amp;nbsp;&amp;gt; &amp;gt; &amp;gt; As Rhesa proposed, he has followed through and released a plugin to add the
&lt;br&gt;&amp;nbsp;&amp;gt; &amp;gt; &amp;gt; Devel::Declare / Method::Signatures magic to CGI::Application:
&lt;br&gt;&amp;nbsp;&amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&amp;nbsp;&amp;gt; &amp;gt; &amp;gt; &lt;a href=&quot;http://search.cpan.org/perldoc?CGI::Application::Plugin::RunmodeDeclare&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://search.cpan.org/perldoc?CGI::Application::Plugin::RunmodeDeclare&lt;/a&gt;&lt;br&gt;&amp;nbsp;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;nbsp;&amp;gt; &amp;gt; Looks like an interesting alternative to CAP::AutoRunmode. One minor 
&lt;br&gt;&amp;nbsp;&amp;gt; &amp;gt; irritant is having to put 'runmode foo ($c:)' everywhere (only if using 
&lt;br&gt;&amp;nbsp;&amp;gt; &amp;gt; $c instead of $self of course). Might be useful to be able to declare 
&lt;br&gt;&amp;nbsp;&amp;gt; &amp;gt; use CGI::Application::Plugin::RunmodeDeclare(invocant =&amp;gt; '$c'), or just 
&lt;br&gt;&amp;nbsp;&amp;gt; &amp;gt; use CAP::RunmodeDeclare qw($c).
&lt;br&gt;&amp;nbsp;&amp;gt; 
&lt;br&gt;&amp;nbsp;&amp;gt; I agree with this sentiment.
&lt;br&gt;&amp;nbsp;&amp;gt; 
&lt;br&gt;&amp;nbsp;&amp;gt; This brings back to life the discussion we were having on IRC the other
&lt;br&gt;&amp;nbsp;&amp;gt; day about &amp;quot;$self&amp;quot; vs &amp;quot;$c&amp;quot;. &amp;nbsp;
&lt;br&gt;&amp;nbsp;&amp;gt; 
&lt;br&gt;&amp;nbsp;&amp;gt; I like &amp;quot;$c&amp;quot; because it's shorter and since it's used all over the code
&lt;br&gt;&amp;nbsp;&amp;gt; base, it's clear enough what it is. And, the first element to 'shift'
&lt;br&gt;&amp;nbsp;&amp;gt; off of @_ in a method must be the invocant. 
&lt;br&gt;&amp;nbsp;&amp;gt; 
&lt;br&gt;&amp;nbsp;&amp;gt; Michael Peters and Richardo argued in favor of &amp;quot;$self&amp;quot; citing the
&lt;br&gt;&amp;nbsp;&amp;gt; &amp;quot;Principle of Least Surprise&amp;quot; and the expectation that this non-standard
&lt;br&gt;&amp;nbsp;&amp;gt; change would generate more harm in confusion than benefits in
&lt;br&gt;&amp;nbsp;&amp;gt; keystrokes. 
&lt;br&gt;&amp;nbsp;&amp;gt; 
&lt;br&gt;&amp;nbsp;&amp;gt; Although I still prefer &amp;quot;$c&amp;quot; in my own code, I thought they made good
&lt;br&gt;&amp;nbsp;&amp;gt; points, so I switched back from &amp;quot;$c&amp;quot; to &amp;quot;$self&amp;quot; in the docs and code of
&lt;br&gt;&amp;nbsp;&amp;gt; the latest CGI::App dev release. 
&lt;br&gt;&amp;nbsp;&amp;gt; 
&lt;br&gt;&amp;nbsp;&amp;gt; But I'm interested in more opinions on the issue. Richard, do you
&lt;br&gt;&amp;nbsp;&amp;gt; particularlly prefer &amp;quot;$c&amp;quot;, or were you mostly following along the docs
&lt;br&gt;&amp;nbsp;&amp;gt; that were updated to switch from &amp;quot;$self&amp;quot; to &amp;quot;$c&amp;quot; ?
&lt;br&gt;&lt;br&gt;I'll toss in one vote for $self being much less Surprising, both to me
&lt;br&gt;and to folks with whom I'm sharing code.
&lt;br&gt;&lt;br&gt;g.
&lt;br&gt;&lt;br&gt;&lt;br&gt;##### &amp;nbsp;CGI::Application community mailing list &amp;nbsp;################
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;To unsubscribe, or change your message delivery options, &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;visit: &amp;nbsp;&lt;a href=&quot;http://www.erlbaum.net/mailman/listinfo/cgiapp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/mailman/listinfo/cgiapp&lt;/a&gt;&amp;nbsp; &amp;nbsp; ##
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;Web archive: &amp;nbsp; &lt;a href=&quot;http://www.erlbaum.net/pipermail/cgiapp/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/pipermail/cgiapp/&lt;/a&gt;&amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;Wiki: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://cgiapp.erlbaum.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cgiapp.erlbaum.net/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;################################################################
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/cgiapp%40lists.erlbaum.net-f13613.html&quot; embed=&quot;fixTarget[13613]&quot; target=&quot;_top&quot; &gt;cgiapp@lists.erlbaum.net&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/New-Plugin%3A-RunmodeDeclare-tp19699708p19717299.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19717116</id>
	<title>Re: New Plugin: RunmodeDeclare</title>
	<published>2008-09-28T17:53:53Z</published>
	<updated>2008-09-28T17:53:53Z</updated>
	<author>
		<name>Rhesa Rozendaal-2</name>
	</author>
	<content type="html">Mark Stosberg wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Mon, 29 Sep 2008 00:18:02 +0100
&lt;br&gt;&amp;gt; Richard Jones &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19717116&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ra.jones@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Mark Stosberg wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; As Rhesa proposed, he has followed through and released a plugin to add the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Devel::Declare / Method::Signatures magic to CGI::Application:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://search.cpan.org/perldoc?CGI::Application::Plugin::RunmodeDeclare&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://search.cpan.org/perldoc?CGI::Application::Plugin::RunmodeDeclare&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; Looks like an interesting alternative to CAP::AutoRunmode. One minor 
&lt;br&gt;&amp;gt;&amp;gt; irritant is having to put 'runmode foo ($c:)' everywhere (only if using 
&lt;br&gt;&amp;gt;&amp;gt; $c instead of $self of course). Might be useful to be able to declare 
&lt;br&gt;&amp;gt;&amp;gt; use CGI::Application::Plugin::RunmodeDeclare(invocant =&amp;gt; '$c'), or just 
&lt;br&gt;&amp;gt;&amp;gt; use CAP::RunmodeDeclare qw($c).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I agree with this sentiment.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This brings back to life the discussion we were having on IRC the other
&lt;br&gt;&amp;gt; day about &amp;quot;$self&amp;quot; vs &amp;quot;$c&amp;quot;. &amp;nbsp;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;While I agree with the others about preferring $self, it doesn't hurt to have 
&lt;br&gt;the option. The next release will allow you to say:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;use CGI::Application::Plugin::RunmodeDeclare invocant =&amp;gt; '$c';
&lt;br&gt;&lt;br&gt;&lt;br&gt;As for the order in which arguments are fetched, I don't mind swapping 
&lt;br&gt;$self-&amp;gt;param and $q-&amp;gt;param in the fallback order. I don't have a practical use 
&lt;br&gt;case either way. I only use $self-&amp;gt;param in this context when CA::Dispatch 
&lt;br&gt;puts url components there. I thought you might sometimes want to override a 
&lt;br&gt;url component with a form field, but I haven't seen that happen yet.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Method::Signatures now respects code attributes. I'm going to try and see if I 
&lt;br&gt;can make it easier to reuse mschwern's code, so I don't have to copy/paste his 
&lt;br&gt;stuff every time he changes something. I'd very much like to be able to use 
&lt;br&gt;the same signature features.
&lt;br&gt;&lt;br&gt;&lt;br&gt;rhesa
&lt;br&gt;&lt;br&gt;##### &amp;nbsp;CGI::Application community mailing list &amp;nbsp;################
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;To unsubscribe, or change your message delivery options, &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;visit: &amp;nbsp;&lt;a href=&quot;http://www.erlbaum.net/mailman/listinfo/cgiapp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/mailman/listinfo/cgiapp&lt;/a&gt;&amp;nbsp; &amp;nbsp; ##
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;Web archive: &amp;nbsp; &lt;a href=&quot;http://www.erlbaum.net/pipermail/cgiapp/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/pipermail/cgiapp/&lt;/a&gt;&amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;Wiki: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://cgiapp.erlbaum.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cgiapp.erlbaum.net/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;################################################################
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/cgiapp%40lists.erlbaum.net-f13613.html&quot; embed=&quot;fixTarget[13613]&quot; target=&quot;_top&quot; &gt;cgiapp@lists.erlbaum.net&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/New-Plugin%3A-RunmodeDeclare-tp19699708p19717116.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19716920</id>
	<title>($self vs $c) was: Re: New Plugin: RunmodeDeclare</title>
	<published>2008-09-28T17:19:55Z</published>
	<updated>2008-09-28T17:19:55Z</updated>
	<author>
		<name>Mark Stosberg</name>
	</author>
	<content type="html">On Mon, 29 Sep 2008 00:18:02 +0100
&lt;br&gt;Richard Jones &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19716920&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ra.jones@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Mark Stosberg wrote:
&lt;br&gt;&amp;gt; &amp;gt; As Rhesa proposed, he has followed through and released a plugin to add the
&lt;br&gt;&amp;gt; &amp;gt; Devel::Declare / Method::Signatures magic to CGI::Application:
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://search.cpan.org/perldoc?CGI::Application::Plugin::RunmodeDeclare&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://search.cpan.org/perldoc?CGI::Application::Plugin::RunmodeDeclare&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Looks like an interesting alternative to CAP::AutoRunmode. One minor 
&lt;br&gt;&amp;gt; irritant is having to put 'runmode foo ($c:)' everywhere (only if using 
&lt;br&gt;&amp;gt; $c instead of $self of course). Might be useful to be able to declare 
&lt;br&gt;&amp;gt; use CGI::Application::Plugin::RunmodeDeclare(invocant =&amp;gt; '$c'), or just 
&lt;br&gt;&amp;gt; use CAP::RunmodeDeclare qw($c).
&lt;/div&gt;&lt;br&gt;I agree with this sentiment.
&lt;br&gt;&lt;br&gt;This brings back to life the discussion we were having on IRC the other
&lt;br&gt;day about &amp;quot;$self&amp;quot; vs &amp;quot;$c&amp;quot;. &amp;nbsp;
&lt;br&gt;&lt;br&gt;I like &amp;quot;$c&amp;quot; because it's shorter and since it's used all over the code
&lt;br&gt;base, it's clear enough what it is. And, the first element to 'shift'
&lt;br&gt;off of @_ in a method must be the invocant. 
&lt;br&gt;&lt;br&gt;Michael Peters and Richardo argued in favor of &amp;quot;$self&amp;quot; citing the
&lt;br&gt;&amp;quot;Principle of Least Surprise&amp;quot; and the expectation that this non-standard
&lt;br&gt;change would generate more harm in confusion than benefits in
&lt;br&gt;keystrokes. 
&lt;br&gt;&lt;br&gt;Although I still prefer &amp;quot;$c&amp;quot; in my own code, I thought they made good
&lt;br&gt;points, so I switched back from &amp;quot;$c&amp;quot; to &amp;quot;$self&amp;quot; in the docs and code of
&lt;br&gt;the latest CGI::App dev release. 
&lt;br&gt;&lt;br&gt;But I'm interested in more opinions on the issue. Richard, do you
&lt;br&gt;particularlly prefer &amp;quot;$c&amp;quot;, or were you mostly following along the docs
&lt;br&gt;that were updated to switch from &amp;quot;$self&amp;quot; to &amp;quot;$c&amp;quot; ?
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Mark
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&lt;a href=&quot;http://mark.stosberg.com/blog&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mark.stosberg.com/blog&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;##### &amp;nbsp;CGI::Application community mailing list &amp;nbsp;################
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;To unsubscribe, or change your message delivery options, &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;visit: &amp;nbsp;&lt;a href=&quot;http://www.erlbaum.net/mailman/listinfo/cgiapp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/mailman/listinfo/cgiapp&lt;/a&gt;&amp;nbsp; &amp;nbsp; ##
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;Web archive: &amp;nbsp; &lt;a href=&quot;http://www.erlbaum.net/pipermail/cgiapp/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/pipermail/cgiapp/&lt;/a&gt;&amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;Wiki: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://cgiapp.erlbaum.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cgiapp.erlbaum.net/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;################################################################
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/cgiapp%40lists.erlbaum.net-f13613.html&quot; embed=&quot;fixTarget[13613]&quot; target=&quot;_top&quot; &gt;cgiapp@lists.erlbaum.net&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/New-Plugin%3A-RunmodeDeclare-tp19699708p19716920.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19716539</id>
	<title>Re: New Plugin: RunmodeDeclare</title>
	<published>2008-09-28T16:18:02Z</published>
	<updated>2008-09-28T16:18:02Z</updated>
	<author>
		<name>Richard Jones-18</name>
	</author>
	<content type="html">Mark Stosberg wrote:
&lt;br&gt;&amp;gt; As Rhesa proposed, he has followed through and released a plugin to add the
&lt;br&gt;&amp;gt; Devel::Declare / Method::Signatures magic to CGI::Application:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://search.cpan.org/perldoc?CGI::Application::Plugin::RunmodeDeclare&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://search.cpan.org/perldoc?CGI::Application::Plugin::RunmodeDeclare&lt;/a&gt;&lt;br&gt;&lt;br&gt;Looks like an interesting alternative to CAP::AutoRunmode. One minor 
&lt;br&gt;irritant is having to put 'runmode foo ($c:)' everywhere (only if using 
&lt;br&gt;$c instead of $self of course). Might be useful to be able to declare 
&lt;br&gt;use CGI::Application::Plugin::RunmodeDeclare(invocant =&amp;gt; '$c'), or just 
&lt;br&gt;use CAP::RunmodeDeclare qw($c).
&lt;br&gt;&lt;br&gt;As an exercise I tried sub-classing it - 'use My::RunmodeDeclare' and 
&lt;br&gt;overriding parse_proto(), substituting $c for $self in 
&lt;br&gt;$signature{invocant}. It seems to work fine so far, and also works with 
&lt;br&gt;CAP::AutoRunmode. Not tried it with CA::Dispatch yet though.
&lt;br&gt;&lt;br&gt;##### &amp;nbsp;CGI::Application community mailing list &amp;nbsp;################
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;To unsubscribe, or change your message delivery options, &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;visit: &amp;nbsp;&lt;a href=&quot;http://www.erlbaum.net/mailman/listinfo/cgiapp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/mailman/listinfo/cgiapp&lt;/a&gt;&amp;nbsp; &amp;nbsp; ##
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;Web archive: &amp;nbsp; &lt;a href=&quot;http://www.erlbaum.net/pipermail/cgiapp/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/pipermail/cgiapp/&lt;/a&gt;&amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;Wiki: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://cgiapp.erlbaum.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cgiapp.erlbaum.net/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;################################################################
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/cgiapp%40lists.erlbaum.net-f13613.html&quot; embed=&quot;fixTarget[13613]&quot; target=&quot;_top&quot; &gt;cgiapp@lists.erlbaum.net&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/New-Plugin%3A-RunmodeDeclare-tp19699708p19716539.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19709438</id>
	<title>[OT] Chaining menus using YUI</title>
	<published>2008-09-28T00:27:30Z</published>
	<updated>2008-09-28T00:27:30Z</updated>
	<author>
		<name>Ron Savage</name>
	</author>
	<content type="html">Hi Folks
&lt;br&gt;&lt;br&gt;I used this code
&lt;br&gt;&lt;a href=&quot;http://developer.yahoo.com/yui/examples/autocomplete/ac_states_jsarray.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://developer.yahoo.com/yui/examples/autocomplete/ac_states_jsarray.html&lt;/a&gt;&lt;br&gt;to create a single autocomplete menu, and then an almost identical block
&lt;br&gt;of code, and their Ajax package, to chain another menu to the first
&lt;br&gt;(country menu =&amp;gt; pick a country =&amp;gt; states per country menu).
&lt;br&gt;&lt;br&gt;However, after much editing, I've broken it :-(( so the second menu no
&lt;br&gt;longer displays.
&lt;br&gt;&lt;br&gt;Anyone got some sample code I could copy?
&lt;br&gt;&lt;br&gt;TIA.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Ron Savage
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19709438&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ron@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://savage.net.au/index.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savage.net.au/index.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;##### &amp;nbsp;CGI::Application community mailing list &amp;nbsp;################
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;To unsubscribe, or change your message delivery options, &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;visit: &amp;nbsp;&lt;a href=&quot;http://www.erlbaum.net/mailman/listinfo/cgiapp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/mailman/listinfo/cgiapp&lt;/a&gt;&amp;nbsp; &amp;nbsp; ##
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;Web archive: &amp;nbsp; &lt;a href=&quot;http://www.erlbaum.net/pipermail/cgiapp/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/pipermail/cgiapp/&lt;/a&gt;&amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;Wiki: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://cgiapp.erlbaum.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cgiapp.erlbaum.net/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;################################################################
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/cgiapp%40lists.erlbaum.net-f13613.html&quot; embed=&quot;fixTarget[13613]&quot; target=&quot;_top&quot; &gt;cgiapp@lists.erlbaum.net&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-OT--Chaining-menus-using-YUI-tp19709438p19709438.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19707349</id>
	<title>Re: Question | Poll - Preferred ORM.</title>
	<published>2008-09-27T16:19:27Z</published>
	<updated>2008-09-27T16:19:27Z</updated>
	<author>
		<name>Ron Savage</name>
	</author>
	<content type="html">Hi Porta
&lt;br&gt;&lt;br&gt;On Sat, 2008-09-27 at 09:42 -0400, Perrin Harkins wrote:
&lt;br&gt;&amp;gt; On Sat, Sep 27, 2008 at 9:04 AM, Porta &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19707349&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;julian.porta@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; Thanks to all for the feedback.
&lt;br&gt;&amp;gt; &amp;gt; It seems that, basically, it's between Rose::DB::Object and DBIx::Class.
&lt;br&gt;&amp;gt; &amp;gt; So far, RDO looks more like what I need, but a bit complex.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Would you like to see a new ORM in cpan, more simpler?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; No. &amp;nbsp;We have Class::DBI for that.
&lt;br&gt;&lt;br&gt;Indeed - and many others, too many.
&lt;br&gt;&lt;br&gt;It's very difficult to choose already, without spending a lot of time
&lt;br&gt;trying a few, and even harder for beginners.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Ron Savage
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19707349&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ron@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://savage.net.au/index.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savage.net.au/index.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;##### &amp;nbsp;CGI::Application community mailing list &amp;nbsp;################
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;To unsubscribe, or change your message delivery options, &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;visit: &amp;nbsp;&lt;a href=&quot;http://www.erlbaum.net/mailman/listinfo/cgiapp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/mailman/listinfo/cgiapp&lt;/a&gt;&amp;nbsp; &amp;nbsp; ##
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;Web archive: &amp;nbsp; &lt;a href=&quot;http://www.erlbaum.net/pipermail/cgiapp/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/pipermail/cgiapp/&lt;/a&gt;&amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;Wiki: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://cgiapp.erlbaum.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cgiapp.erlbaum.net/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;################################################################
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/cgiapp%40lists.erlbaum.net-f13613.html&quot; embed=&quot;fixTarget[13613]&quot; target=&quot;_top&quot; &gt;cgiapp@lists.erlbaum.net&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Question-%7C-Poll---Preferred-ORM.-tp19669899p19707349.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19707025</id>
	<title>Re: Patches available for ::Plugin::Routes (was: Re: New plugin idea based/inspired on CA Dispatch)</title>
	<published>2008-09-27T15:32:32Z</published>
	<updated>2008-09-27T15:32:32Z</updated>
	<author>
		<name>Mark Stosberg</name>
	</author>
	<content type="html">&lt;br&gt;Today I noticed a related module that I missed when it was released
&lt;br&gt;about a year ago:
&lt;br&gt;&lt;br&gt;&amp;nbsp;&lt;a href=&quot;http://search.cpan.org/perldoc?CGI::Application::URIMapping&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://search.cpan.org/perldoc?CGI::Application::URIMapping&lt;/a&gt;&lt;br&gt;&lt;br&gt;It also does dispatching with the ::Dispatcher syntax. I think I prefer
&lt;br&gt;the 'routes' approach, but I have a little trouble understanding the
&lt;br&gt;features of this 'URIMapping' module.
&lt;br&gt;&lt;br&gt;There's a blog post to explain it further, in Japanese:
&lt;br&gt;&lt;a href=&quot;http://labs.cybozu.co.jp/blog/kazuho/archives/2007/11/cgi-app-urimapping.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://labs.cybozu.co.jp/blog/kazuho/archives/2007/11/cgi-app-urimapping.php&lt;/a&gt;&lt;br&gt;&lt;br&gt;Perhaps it's of interest to someone. 
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Mark
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&lt;a href=&quot;http://mark.stosberg.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mark.stosberg.com/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;##### &amp;nbsp;CGI::Application community mailing list &amp;nbsp;################
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;To unsubscribe, or change your message delivery options, &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;visit: &amp;nbsp;&lt;a href=&quot;http://www.erlbaum.net/mailman/listinfo/cgiapp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/mailman/listinfo/cgiapp&lt;/a&gt;&amp;nbsp; &amp;nbsp; ##
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;Web archive: &amp;nbsp; &lt;a href=&quot;http://www.erlbaum.net/pipermail/cgiapp/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/pipermail/cgiapp/&lt;/a&gt;&amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;Wiki: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://cgiapp.erlbaum.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cgiapp.erlbaum.net/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;################################################################
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/cgiapp%40lists.erlbaum.net-f13613.html&quot; embed=&quot;fixTarget[13613]&quot; target=&quot;_top&quot; &gt;cgiapp@lists.erlbaum.net&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/New-plugin-idea-based-inspired-on-CA-Dispatch.-tp19585810p19707025.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19703666</id>
	<title>Re: Patches available for ::Plugin::Routes (was: Re: New plugin idea based/inspired on CA Dispatch)</title>
	<published>2008-09-27T08:25:40Z</published>
	<updated>2008-09-27T08:25:40Z</updated>
	<author>
		<name>Mark Stosberg</name>
	</author>
	<content type="html">&lt;br&gt;&amp;gt; Sorry, but I didn't understood this last sentence:
&lt;br&gt;&amp;gt; &amp;gt; The fix is to immediately the routes table when we call &amp;quot;routes&amp;quot; in
&lt;br&gt;&amp;gt; &amp;gt; setup, and register the run modes there, not each time we are in the
&lt;br&gt;&amp;gt; &amp;gt; pre-run callback.
&lt;br&gt;&lt;br&gt;I'm sorry, my grammar was poor. I meant &amp;quot;immediately *process* the
&lt;br&gt;routes table when we call routes() in setup(). We'll register the run
&lt;br&gt;modes all at once there, instead of dynamically in the prerun()
&lt;br&gt;callback.
&lt;br&gt;&lt;br&gt;Thanks for your continued work on this Julian!
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Mark
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&lt;a href=&quot;http://mark.stosberg.com/blog&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mark.stosberg.com/blog&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;##### &amp;nbsp;CGI::Application community mailing list &amp;nbsp;################
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;To unsubscribe, or change your message delivery options, &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;visit: &amp;nbsp;&lt;a href=&quot;http://www.erlbaum.net/mailman/listinfo/cgiapp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/mailman/listinfo/cgiapp&lt;/a&gt;&amp;nbsp; &amp;nbsp; ##
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;Web archive: &amp;nbsp; &lt;a href=&quot;http://www.erlbaum.net/pipermail/cgiapp/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/pipermail/cgiapp/&lt;/a&gt;&amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp;Wiki: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://cgiapp.erlbaum.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cgiapp.erlbaum.net/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;################################################################
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/cgiapp%40lists.erlbaum.net-f13613.html&quot; embed=&quot;fixTarget[13613]&quot; target=&quot;_top&quot; &gt;cgiapp@lists.erlbaum.net&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/New-plugin-idea-based-inspired-on-CA-Dispatch.-tp19585810p19703666.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19703393</id>
	<title>Re: Re: Patches available for ::Plugin::Routes (was: Re: New plugin idea based/inspired on CA Dispatch)</title>
	<published>2008-09-27T07:53:37Z</published>
	<updated>2008-09-27T07:53:37Z</updated>
	<author>
		<name>Porta-2</name>
	</author>
	<content type="html">On Sat, Sep 27, 2008 at 11:27 AM, Mark Stosberg &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19703393&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mark@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 1. The plugin should be able to handle routes like
&lt;br&gt;&amp;gt;&amp;gt; '/runmode/:term/:term/:term' ? My first thought was that it should
&lt;br&gt;&amp;gt;&amp;gt; populate a array for the param 'term'. same applies for parameters
&lt;br&gt;&amp;gt;&amp;gt; passed by GET and POST with the same name (I cannot imagine a good
&lt;br&gt;&amp;gt;&amp;gt; reason for this, but completely possible) &amp;nbsp;Any ideas?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Dispatch.pm doesn't do this either, and no one has complained about the
&lt;br&gt;&amp;gt; omission of the feature so far. &amp;nbsp;I agree that creating an arrayref of
&lt;br&gt;&amp;gt; values is how I would parse this case, but for simplicity I would
&lt;br&gt;&amp;gt; continue to omit the feature until someone makes a strong use-case for
&lt;br&gt;&amp;gt; &amp;quot;needing&amp;quot; it.
&lt;/div&gt;&lt;br&gt;Agree. definitely something can wait. Just was thinking.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 2. Another thought I had is that, registering runmodes on the fly will
&lt;br&gt;&amp;gt;&amp;gt; cause those runmodes to not being available if there's no matching
&lt;br&gt;&amp;gt;&amp;gt; route, which may happen is the routes table is missing or incomplete
&lt;br&gt;&amp;gt;&amp;gt; or there's a error on the route itself and it doesnt match the url.
&lt;br&gt;&amp;gt;&amp;gt; It's true that if no route matches and no runmode is declared by the
&lt;br&gt;&amp;gt;&amp;gt; plugin, the application will fallback to it's default runmode and you
&lt;br&gt;&amp;gt;&amp;gt; can debug there to see what happened.
&lt;br&gt;&amp;gt;&amp;gt; Having the plugin registering runmodes on the fly it's nice, but I
&lt;br&gt;&amp;gt;&amp;gt; wouldn't push too hard inviting users to not registering their
&lt;br&gt;&amp;gt;&amp;gt; runmodes in the setup.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This is an excellent point, Julian. I wasn't paying close attention and
&lt;br&gt;&amp;gt; didn't realize the run mode registration was dynamic. It should be
&lt;br&gt;&amp;gt; static. Dynamic registration created complications with AutoRunmode.
&lt;br&gt;&amp;gt; To work around it, we modified the 'Forward' plugin to detect that
&lt;br&gt;&amp;gt; AutoRunmode was in use, and then also did just-in-time registration
&lt;br&gt;&amp;gt; there! Not elegant.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Here's a quick test which can be added to the test suite which will
&lt;br&gt;&amp;gt; confirm the need to use one-time static run mode registration:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 1. Create a test module with two run modes declared via 'routes':
&lt;br&gt;&amp;gt; 'first' and 'second'. Do not declare 'run_modes' .
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 2. Have 'first' match and call &amp;quot;$self-&amp;gt;forward('second')&amp;quot;. Ideally this
&lt;br&gt;&amp;gt; should succeed, but I think it will currently fail.
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;Sorry, but I didn't understood this last sentence:
&lt;br&gt;&amp;gt; The fix is to immediately the routes table when we call &amp;quot;routes&amp;quot; in
&lt;br&gt;&amp;gt; setup, and register the run modes there, not each time we are in the
&lt;br&gt;&amp;gt; pre-run callback.
&lt;br&gt;&lt;br&gt;&amp;gt; This was, we get static run mode registration in 'setup', while still
&lt;br&gt;&amp;gt; avoiding the need to also call 'runmodes' in most cases.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Is that a patch you would be willing make? I could do it, but have some
&lt;br&gt;&amp;gt; other CPAN module maintenance I could be doing. Your help would be
&lt;br&gt;&amp;gt; appreciated.
&lt;br&gt;&lt;br&gt;Definitely, I'll give it a try and ask for help if any problem.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Mark
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://mark.stosberg.com/blog&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mark.stosberg.com/blog&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ##### &amp;nbsp;CGI::Application community mailing list &amp;nbsp;################
&lt;br&gt;&amp;gt; ## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;&amp;gt; ## &amp;nbsp;To unsubscribe, or change your message delivery options, &amp;nbsp;##
&lt;br&gt;&amp;gt; ## &amp;nbsp;visit: &amp;nbsp;&lt;a href=&quot;http://www.erlbaum.net/mailman/listinfo/cgiapp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/mailman/listinfo/cgiapp&lt;/a&gt;&amp;nbsp; &amp;nbsp; ##
&lt;br&gt;&amp;gt; ## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;&amp;gt; ## &amp;nbsp;Web archive: &amp;nbsp; &lt;a href=&quot;http://www.erlbaum.net/pipermail/cgiapp/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.erlbaum.net/pipermail/cgiapp/&lt;/a&gt;&amp;nbsp; &amp;nbsp;##
&lt;br&gt;&amp;gt; ## &amp;nbsp;Wiki: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://cgiapp.erlbaum.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cgiapp.erlbaum.net/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;##
&lt;br&gt;&amp;gt; ## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp