<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-19245</id>
	<title>Nabble - Catalyst Web Framework</title>
	<updated>2009-11-10T14:11:14Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Catalyst-Web-Framework-f19245.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Catalyst-Web-Framework-f19245.html" />
	<subtitle type="html">&lt;a href=&quot;http://www.catalystframework.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Catalyst&lt;/a&gt; -- The elegant MVC web framework.&lt;br&gt;
Catalyst is designed to make it easy to manage the various tasks you need to do to run an application on the web, either by doing them itself, or by letting you &quot;plug in&quot; existing Perl modules that do what you need.&lt;br&gt;</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26292293</id>
	<title>Catalyst &amp; E-Commerce</title>
	<published>2009-11-10T14:11:14Z</published>
	<updated>2009-11-10T14:11:14Z</updated>
	<author>
		<name>Pavel O. Korovkin</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;After looking around I've found Handel and built on top of it Mango.
&lt;br&gt;Is there any other e-commerce modules/solutions/etc based on Catalyst?
&lt;br&gt;Who uses Mango&amp;Handel in their own project - can comment anything?
&lt;br&gt;Both projects seems to be non actively developed. Is it means dead-end
&lt;br&gt;or perfect solution? =) Well, anything on e-commerce and catalyst is
&lt;br&gt;very appreciated!
&lt;br&gt;&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Pavel
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;List: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26292293&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Catalyst@...&lt;/a&gt;
&lt;br&gt;Listinfo: &lt;a href=&quot;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&lt;/a&gt;&lt;br&gt;Searchable archive: &lt;a href=&quot;http://www.mail-archive.com/catalyst@lists.scsys.co.uk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/catalyst@.../&lt;/a&gt;&lt;br&gt;Dev site: &lt;a href=&quot;http://dev.catalyst.perl.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.catalyst.perl.org/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Catalyst---E-Commerce-tp26292293p26292293.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26285785</id>
	<title>Re: Trouble inserting data after migrate database from  SQLite to My SQL</title>
	<published>2009-11-10T07:45:45Z</published>
	<updated>2009-11-10T07:45:45Z</updated>
	<author>
		<name>Jordi Amorós</name>
	</author>
	<content type="html">&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This is a DBIC question, as such the answer is clearly found in the
&lt;br&gt;&amp;gt; DBIC manual:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://search.cpan.org/~ribasushi/DBIx-Class-0.08112/lib/DBIx/Class/ResultSet.pm#find_or_new&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://search.cpan.org/~ribasushi/DBIx-Class-0.08112/lib/DBIx/Class/ResultSet.pm#find_or_new&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; To summarize, -&amp;gt;new or -&amp;gt;find_or_new will not create a record in the
&lt;br&gt;&amp;gt; database (and as such, no id is available). &amp;nbsp;If you want to create a
&lt;br&gt;&amp;gt; record, triggering the auto_increment, then you must use create or a
&lt;br&gt;&amp;gt; subsequent -&amp;gt;insert after a -&amp;gt;new call.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Also of note, DBIx::Class has its own mailing list that you should
&lt;br&gt;&amp;gt; consider subscribing to.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; -Jay
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; List: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26285785&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Catalyst@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Listinfo: &lt;a href=&quot;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&lt;/a&gt;&lt;br&gt;&amp;gt; Searchable archive: &lt;a href=&quot;http://www.mail-archive.com/catalyst@lists.scsys.co.uk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/catalyst@.../&lt;/a&gt;&lt;br&gt;&amp;gt; Dev site: &lt;a href=&quot;http://dev.catalyst.perl.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.catalyst.perl.org/&lt;/a&gt;&lt;/div&gt;&lt;br&gt;First of all, my apologies I've changed the subject of my previous
&lt;br&gt;message and due to that, now it's not placed where it have to be. 
&lt;br&gt;&lt;br&gt;With your permission (I wish), I copy &amp; paste my answer to Steve:
&lt;br&gt;&lt;br&gt;&amp;quot;&amp;gt; Is your 'id' set to auto-increment??? &amp;nbsp;
&lt;br&gt;Yes, it is.
&lt;br&gt;&lt;br&gt;&amp;gt; What data type is it? &amp;nbsp;I usually 
&lt;br&gt;&amp;gt; set the 'id' to auto-increment, and set it as an integer. &amp;nbsp;
&lt;br&gt;I also do it.
&lt;br&gt;&lt;br&gt;&amp;gt; I would also 
&lt;br&gt;&amp;gt; recommend using DBIC_TRACE=1 from the command line if possible to get
&lt;br&gt;a 
&lt;br&gt;&amp;gt; better description of the actual problem.
&lt;br&gt;&lt;br&gt;&amp;gt; Steve
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;Thank you, very much. DBIC_TRACE=1 have provided me the following error:
&lt;br&gt;&amp;quot;No _dbh_last_insert_id() method found in DBIx::Class::Storage::DBI.
&lt;br&gt;Since the method of obtaining the autoincrement id of the last insert
&lt;br&gt;operation varies greatly between different databases, this method must
&lt;br&gt;be individually implemented for every storage class.&amp;quot;
&lt;br&gt;&lt;br&gt;I've made a quick search, and I've found:
&lt;br&gt;&lt;a href=&quot;http://rt.cpan.org/Public/Bug/Display.html?id=40265#txn-566706&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rt.cpan.org/Public/Bug/Display.html?id=40265#txn-566706&lt;/a&gt;&lt;br&gt;&lt;br&gt;I've upgraded my version of DBIx::Class and it's all working again. 
&lt;br&gt;&lt;br&gt;Cheers
&lt;br&gt;&lt;br&gt;Jordi&amp;quot;
&lt;br&gt;&lt;br&gt;You're right Jay, it was a DBIx::Class issue. Thank you, for answering.
&lt;br&gt;&lt;br&gt;Jordi
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;List: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26285785&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Catalyst@...&lt;/a&gt;
&lt;br&gt;Listinfo: &lt;a href=&quot;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&lt;/a&gt;&lt;br&gt;Searchable archive: &lt;a href=&quot;http://www.mail-archive.com/catalyst@lists.scsys.co.uk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/catalyst@.../&lt;/a&gt;&lt;br&gt;Dev site: &lt;a href=&quot;http://dev.catalyst.perl.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.catalyst.perl.org/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Trouble-inserting-data-after-migrate-database-from-SQLite-to-My-SQL-tp26283852p26285785.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26285326</id>
	<title>Re: Trouble inserting data after migrate database from  SQLite to My SQL</title>
	<published>2009-11-10T07:20:26Z</published>
	<updated>2009-11-10T07:20:26Z</updated>
	<author>
		<name>J. Shirley</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Tue, Nov 10, 2009 at 5:53 AM, Jordi Amorós &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26285326&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jamoros@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
Hi all,&lt;br&gt;
&lt;br&gt;
I&amp;#39;m developing a little web application (a remote lab that works with&lt;br&gt;
Catalyst+LabView). Until now I was using SQLite, but due to new&lt;br&gt;
requirements I&amp;#39;ve had to migrate the database.&lt;br&gt;
&lt;br&gt;
I&amp;#39;ve created a new model:&lt;br&gt;
perl script/&lt;a href=&quot;http://ilabrs_create.pl&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;ilabrs_create.pl&lt;/a&gt; model DB DBIC::Schema ilabrs::Schema&lt;br&gt;
create=static components=TimeStamp,EncodedColumn dbi:mysql:ilabrs&lt;br&gt;
&lt;br&gt;
and then, after restarting the server all seemed to work. Actually,&lt;br&gt;
list, edit and erase from the database is working fine. But when I want&lt;br&gt;
to add data, it doesn&amp;#39;t work.&lt;br&gt;
&lt;br&gt;
The problem appears when an id it&amp;#39;s not provided. If I&amp;#39;m not wrong,&lt;br&gt;
&amp;quot;my $exp = $c-&amp;gt;model(&amp;#39;DB::Activitats&amp;#39;)-&amp;gt; find_or_new({id=&amp;gt; $id});&amp;quot;&lt;br&gt;
should solve that. But: &amp;quot;$c-&amp;gt;log-&amp;gt;debug(&amp;quot;Experiment ID:&amp;quot;.$exp-&amp;gt;id);&amp;quot;,&lt;br&gt;
prints nothing.&lt;br&gt;
 &lt;br&gt;&lt;/blockquote&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
I&amp;#39;m absolutely clueless. I&amp;#39;ve tried to split de edit function in two:&lt;br&gt;
-one to actually edit (my $exp = $c-&amp;gt;model(&amp;#39;DB::Activitats&amp;#39;)-&amp;gt;&lt;br&gt;
find({id=&amp;gt; $id});) which still works properly.&lt;br&gt;
&lt;br&gt;
-and a second one to add (my $exp = $c-&amp;gt;model(&amp;#39;DB::Activitats&amp;#39;)-&amp;gt;&lt;br&gt;
new({});) which doesn&amp;#39;t because $exp-&amp;gt;id is empty and&lt;br&gt;
$exp-&amp;gt;update_or_insert;&lt;br&gt;
cause an exception:&lt;br&gt;
&lt;br&gt;
DBI Exception: DBD::mysql::st execute failed: Column &amp;#39;id&amp;#39; cannot be&lt;br&gt;
null...&lt;br&gt;
&lt;br&gt;
Any suggestion, idea, clue... will be welcome.&lt;br&gt;
&lt;br&gt;
Thanks,&lt;br&gt;
&lt;br&gt;
&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;This is a DBIC question, as such the answer is clearly found in the DBIC manual:&lt;br&gt;
&lt;a href=&quot;http://search.cpan.org/~ribasushi/DBIx-Class-0.08112/lib/DBIx/Class/ResultSet.pm#find_or_new&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://search.cpan.org/~ribasushi/DBIx-Class-0.08112/lib/DBIx/Class/ResultSet.pm#find_or_new&lt;/a&gt;&lt;br&gt;
&lt;br&gt;To summarize, -&amp;gt;new or -&amp;gt;find_or_new will not create a record in the database (and as such, no id is available).  If you want to create a record, triggering the auto_increment, then you must use create or a subsequent -&amp;gt;insert after a -&amp;gt;new call.&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;br&gt;Also of note, DBIx::Class has its own mailing list that you should consider subscribing to.&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;-Jay&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;List: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26285326&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Catalyst@...&lt;/a&gt;
&lt;br&gt;Listinfo: &lt;a href=&quot;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&lt;/a&gt;&lt;br&gt;Searchable archive: &lt;a href=&quot;http://www.mail-archive.com/catalyst@lists.scsys.co.uk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/catalyst@.../&lt;/a&gt;&lt;br&gt;Dev site: &lt;a href=&quot;http://dev.catalyst.perl.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.catalyst.perl.org/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Trouble-inserting-data-after-migrate-database-from-SQLite-to-My-SQL-tp26283852p26285326.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26284619</id>
	<title>Re: Trouble inserting data after migrate database from SQLite to MySQL</title>
	<published>2009-11-10T06:41:31Z</published>
	<updated>2009-11-10T06:41:31Z</updated>
	<author>
		<name>Jordi Amorós</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br /&gt;&lt;div class='shrinkable-quote'&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; &amp;gt; List: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26284619&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Catalyst@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt; Listinfo: &lt;a href=&quot;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; Searchable archive: &lt;a href=&quot;http://www.mail-archive.com/catalyst@lists.scsys.co.uk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/catalyst@.../&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; Dev site: &lt;a href=&quot;http://dev.catalyst.perl.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.catalyst.perl.org/&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt; Is your 'id' set to auto-increment??? &amp;nbsp;
&lt;/div&gt;Yes, it is.
&lt;br&gt;&lt;br&gt;&amp;gt; What data type is it? &amp;nbsp;I usually 
&lt;br&gt;&amp;gt; set the 'id' to auto-increment, and set it as an integer. &amp;nbsp;
&lt;br&gt;I also do it.
&lt;br&gt;&lt;br&gt;&amp;gt; I would also 
&lt;br&gt;&amp;gt; recommend using DBIC_TRACE=1 from the command line if possible to get a 
&lt;br&gt;&amp;gt; better description of the actual problem.
&lt;br&gt;&lt;br&gt;&amp;gt; Steve
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;Thank you, very much. DBIC_TRACE=1 have provided me the following error:
&lt;br&gt;&amp;quot;No _dbh_last_insert_id() method found in DBIx::Class::Storage::DBI.
&lt;br&gt;Since the method of obtaining the autoincrement id of the last insert
&lt;br&gt;operation varies greatly between different databases, this method must
&lt;br&gt;be individually implemented for every storage class.&amp;quot;
&lt;br&gt;&lt;br&gt;I've made a quick search, and I've found:
&lt;br&gt;&lt;a href=&quot;http://rt.cpan.org/Public/Bug/Display.html?id=40265#txn-566706&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rt.cpan.org/Public/Bug/Display.html?id=40265#txn-566706&lt;/a&gt;&lt;br&gt;&lt;br&gt;I've upgraded my version of DBIx::Class and it's all working again. 
&lt;br&gt;&lt;br&gt;Cheers
&lt;br&gt;&lt;br&gt;Jordi
&lt;br&gt;&lt;br&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;List: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26284619&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Catalyst@...&lt;/a&gt;
&lt;br&gt;Listinfo: &lt;a href=&quot;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&lt;/a&gt;&lt;br&gt;Searchable archive: &lt;a href=&quot;http://www.mail-archive.com/catalyst@lists.scsys.co.uk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/catalyst@.../&lt;/a&gt;&lt;br&gt;Dev site: &lt;a href=&quot;http://dev.catalyst.perl.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.catalyst.perl.org/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-Trouble-inserting-data-after-migrate-database-from-SQLite-to-MySQL-tp26284619p26284619.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26284041</id>
	<title>Re: Trouble inserting data after migrate database from SQLite to My SQL</title>
	<published>2009-11-10T06:05:56Z</published>
	<updated>2009-11-10T06:05:56Z</updated>
	<author>
		<name>Steve-185</name>
	</author>
	<content type="html">&lt;br&gt;Jordi Amorós wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm developing a little web application (a remote lab that works with
&lt;br&gt;&amp;gt; Catalyst+LabView). Until now I was using SQLite, but due to new
&lt;br&gt;&amp;gt; requirements I've had to migrate the database.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I've created a new model:
&lt;br&gt;&amp;gt; perl script/ilabrs_create.pl model DB DBIC::Schema ilabrs::Schema
&lt;br&gt;&amp;gt; create=static components=TimeStamp,EncodedColumn dbi:mysql:ilabrs
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; and then, after restarting the server all seemed to work. Actually,
&lt;br&gt;&amp;gt; list, edit and erase from the database is working fine. But when I want
&lt;br&gt;&amp;gt; to add data, it doesn't work.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The problem appears when an id it's not provided. If I'm not wrong,
&lt;br&gt;&amp;gt; &amp;quot;my $exp = $c-&amp;gt;model('DB::Activitats')-&amp;gt; find_or_new({id=&amp;gt; $id});&amp;quot;
&lt;br&gt;&amp;gt; should solve that. But: &amp;quot;$c-&amp;gt;log-&amp;gt;debug(&amp;quot;Experiment ID:&amp;quot;.$exp-&amp;gt;id);&amp;quot;,
&lt;br&gt;&amp;gt; prints nothing.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm absolutely clueless. I've tried to split de edit function in two:
&lt;br&gt;&amp;gt; -one to actually edit (my $exp = $c-&amp;gt;model('DB::Activitats')-&amp;gt;
&lt;br&gt;&amp;gt; find({id=&amp;gt; $id});) which still works properly.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -and a second one to add (my $exp = $c-&amp;gt;model('DB::Activitats')-&amp;gt;
&lt;br&gt;&amp;gt; new({});) which doesn't because $exp-&amp;gt;id is empty and 
&lt;br&gt;&amp;gt; $exp-&amp;gt;update_or_insert;
&lt;br&gt;&amp;gt; cause an exception:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; DBI Exception: DBD::mysql::st execute failed: Column 'id' cannot be
&lt;br&gt;&amp;gt; null...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Any suggestion, idea, clue... will be welcome.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Jordi
&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;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; List: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26284041&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Catalyst@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Listinfo: &lt;a href=&quot;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&lt;/a&gt;&lt;br&gt;&amp;gt; Searchable archive: &lt;a href=&quot;http://www.mail-archive.com/catalyst@lists.scsys.co.uk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/catalyst@.../&lt;/a&gt;&lt;br&gt;&amp;gt; Dev site: &lt;a href=&quot;http://dev.catalyst.perl.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.catalyst.perl.org/&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;Is your 'id' set to auto-increment??? &amp;nbsp;What data type is it? &amp;nbsp;I usually 
&lt;br&gt;set the 'id' to auto-increment, and set it as an integer. &amp;nbsp;I would also 
&lt;br&gt;recommend using DBIC_TRACE=1 from the command line if possible to get a 
&lt;br&gt;better description of the actual problem.
&lt;br&gt;&lt;br&gt;Steve
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;List: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26284041&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Catalyst@...&lt;/a&gt;
&lt;br&gt;Listinfo: &lt;a href=&quot;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&lt;/a&gt;&lt;br&gt;Searchable archive: &lt;a href=&quot;http://www.mail-archive.com/catalyst@lists.scsys.co.uk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/catalyst@.../&lt;/a&gt;&lt;br&gt;Dev site: &lt;a href=&quot;http://dev.catalyst.perl.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.catalyst.perl.org/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Trouble-inserting-data-after-migrate-database-from-SQLite-to-My-SQL-tp26283852p26284041.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26283852</id>
	<title>Trouble inserting data after migrate database from SQLite to My SQL</title>
	<published>2009-11-10T05:53:53Z</published>
	<updated>2009-11-10T05:53:53Z</updated>
	<author>
		<name>Jordi Amorós</name>
	</author>
	<content type="html">Hi all,
&lt;br&gt;&lt;br&gt;I'm developing a little web application (a remote lab that works with
&lt;br&gt;Catalyst+LabView). Until now I was using SQLite, but due to new
&lt;br&gt;requirements I've had to migrate the database.
&lt;br&gt;&lt;br&gt;I've created a new model:
&lt;br&gt;perl script/ilabrs_create.pl model DB DBIC::Schema ilabrs::Schema
&lt;br&gt;create=static components=TimeStamp,EncodedColumn dbi:mysql:ilabrs
&lt;br&gt;&lt;br&gt;and then, after restarting the server all seemed to work. Actually,
&lt;br&gt;list, edit and erase from the database is working fine. But when I want
&lt;br&gt;to add data, it doesn't work.
&lt;br&gt;&lt;br&gt;The problem appears when an id it's not provided. If I'm not wrong,
&lt;br&gt;&amp;quot;my $exp = $c-&amp;gt;model('DB::Activitats')-&amp;gt; find_or_new({id=&amp;gt; $id});&amp;quot;
&lt;br&gt;should solve that. But: &amp;quot;$c-&amp;gt;log-&amp;gt;debug(&amp;quot;Experiment ID:&amp;quot;.$exp-&amp;gt;id);&amp;quot;,
&lt;br&gt;prints nothing.
&lt;br&gt;&lt;br&gt;I'm absolutely clueless. I've tried to split de edit function in two:
&lt;br&gt;-one to actually edit (my $exp = $c-&amp;gt;model('DB::Activitats')-&amp;gt;
&lt;br&gt;find({id=&amp;gt; $id});) which still works properly.
&lt;br&gt;&lt;br&gt;-and a second one to add (my $exp = $c-&amp;gt;model('DB::Activitats')-&amp;gt;
&lt;br&gt;new({});) which doesn't because $exp-&amp;gt;id is empty and 
&lt;br&gt;$exp-&amp;gt;update_or_insert;
&lt;br&gt;cause an exception:
&lt;br&gt;&lt;br&gt;DBI Exception: DBD::mysql::st execute failed: Column 'id' cannot be
&lt;br&gt;null...
&lt;br&gt;&lt;br&gt;Any suggestion, idea, clue... will be welcome.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;Jordi
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;List: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26283852&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Catalyst@...&lt;/a&gt;
&lt;br&gt;Listinfo: &lt;a href=&quot;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&lt;/a&gt;&lt;br&gt;Searchable archive: &lt;a href=&quot;http://www.mail-archive.com/catalyst@lists.scsys.co.uk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/catalyst@.../&lt;/a&gt;&lt;br&gt;Dev site: &lt;a href=&quot;http://dev.catalyst.perl.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.catalyst.perl.org/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Trouble-inserting-data-after-migrate-database-from-SQLite-to-My-SQL-tp26283852p26283852.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26263272</id>
	<title>Re: Can't redirect using $c-&gt;res-&gt;redirect()</title>
	<published>2009-11-09T01:13:27Z</published>
	<updated>2009-11-09T01:13:27Z</updated>
	<author>
		<name>Emmanuel Quevillon-3</name>
	</author>
	<content type="html">Tomas Doran wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Emmanuel Quevillon wrote:
&lt;br&gt;&amp;gt;&amp;gt; [Fri Nov &amp;nbsp;6 15:36:13 2009] [error] Caught exception in engine &amp;quot;Can't
&lt;br&gt;&amp;gt;&amp;gt; call method &amp;quot;as_string&amp;quot; on an undefined value at
&lt;br&gt;&amp;gt;&amp;gt; /usr/local/share/perl/5.10.0/Catalyst/Engine.pm line 95.&amp;quot;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Can you start your server with perl -MDevel::SimpleTrace
&lt;br&gt;&amp;gt; script/myapp_server.pl -d
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; and attach the full app startup, and the request which breaks (which
&lt;br&gt;&amp;gt; should now include a full stack trace in its error).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks.
&lt;br&gt;&amp;gt; t0m
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;Hi Tomas,
&lt;br&gt;&lt;br&gt;Here is the log generated :
&lt;br&gt;&lt;br&gt;[Mon Nov &amp;nbsp;9 10:08:03 2009] [info] [tuco,localhost,x,x] Logging out
&lt;br&gt;[Mon Nov &amp;nbsp;9 10:08:03 2009] [debug] Deleting session(User logging out)
&lt;br&gt;[Mon Nov &amp;nbsp;9 10:08:03 2009] [debug] Redirecting to
&lt;br&gt;&amp;quot;&lt;a href=&quot;http://localhost:3000/login&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:3000/login&lt;/a&gt;&amp;quot;
&lt;br&gt;[Mon Nov &amp;nbsp;9 10:08:03 2009] [error] Caught exception in engine &amp;quot;Can't
&lt;br&gt;call method &amp;quot;as_string&amp;quot; on an undefined value
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;Catalyst::Engine::finalize_cookies(/usr/local/share/perl/5.10.0/Catalyst/Engine.pm:95)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;Catalyst::finalize_cookies(/usr/local/share/perl/5.10.0/Catalyst.pm:1700)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;Catalyst::finalize_headers(/usr/local/share/perl/5.10.0/Catalyst.pm:1763)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;Catalyst::Plugin::Session::finalize_headers(/usr/local/share/perl/5.10.0/Catalyst/Plugin/Session.pm:99)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;Catalyst::finalize(/usr/local/share/perl/5.10.0/Catalyst.pm:1666)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;Catalyst::Plugin::FillInForm::finalize(/usr/local/share/perl/5.10.0/Catalyst/Plugin/FillInForm.pm:67)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;Catalyst::Plugin::Static::Simple::finalize(/usr/local/share/perl/5.10.0/Catalyst/Plugin/Static/Simple.pm:80)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at &amp;lt;eval&amp;gt;(/usr/local/share/perl/5.10.0/Catalyst.pm:1829)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;Catalyst::handle_request(/usr/local/share/perl/5.10.0/Catalyst.pm:1819)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;Catalyst::Engine::HTTP::_handler(/usr/local/share/perl/5.10.0/Catalyst/Engine/HTTP.pm:394)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;Catalyst::Engine::HTTP::run(/usr/local/share/perl/5.10.0/Catalyst/Engine/HTTP.pm:291)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at Catalyst::run(/usr/local/share/perl/5.10.0/Catalyst.pm:2121)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at main::__ANON__(script/bibliolist_server.pl:68)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;Catalyst::Restarter::Forking::_fork_and_start(/usr/local/share/perl/5.10.0/Catalyst/Restarter/Forking.pm:20)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;Catalyst::Restarter::run_and_watch(/usr/local/share/perl/5.10.0/Catalyst/Restarter.pm:68)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at main::(script/bibliolist_server.pl:104)&amp;quot;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Just to add a little more info, when on the blank page after
&lt;br&gt;clicking 'Logout' button, if I do a 'reload' in my browser, I am
&lt;br&gt;redirected to the login page as expected and this is the following
&lt;br&gt;log generated :
&lt;br&gt;&lt;br&gt;[Mon Nov &amp;nbsp;9 10:08:31 2009] [info] *** Request 7 (0.135/s) [5954]
&lt;br&gt;[Mon Nov &amp;nbsp;9 10:08:31 2009] ***
&lt;br&gt;[Mon Nov &amp;nbsp;9 10:08:31 2009] [debug] &amp;quot;GET&amp;quot; request for &amp;quot;logout&amp;quot; from
&lt;br&gt;&amp;quot;127.0.0.1&amp;quot;
&lt;br&gt;[Mon Nov &amp;nbsp;9 10:08:31 2009] [debug] Path is &amp;quot;logout&amp;quot;
&lt;br&gt;[Mon Nov &amp;nbsp;9 10:08:31 2009] [debug] Found sessionid
&lt;br&gt;&amp;quot;fcd469f228156f819cf7d7ab3b8742ceaf444388&amp;quot; in cookie
&lt;br&gt;[Mon Nov &amp;nbsp;9 10:08:31 2009] [debug] Deleting session(session expired)
&lt;br&gt;[Mon Nov &amp;nbsp;9 10:08:31 2009] [debug] Redirecting to
&lt;br&gt;&amp;quot;&lt;a href=&quot;http://localhost:3000/login&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:3000/login&lt;/a&gt;&amp;quot;
&lt;br&gt;[Mon Nov &amp;nbsp;9 10:08:31 2009] [info] Request took 0.028152s (35.521/s)
&lt;br&gt;.------------------------------------------------------------+-----------.
&lt;br&gt;| Action &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | Time
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;|
&lt;br&gt;+------------------------------------------------------------+-----------+
&lt;br&gt;| /auto &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &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;0.006261s |
&lt;br&gt;| /end &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &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;0.000699s |
&lt;br&gt;'------------------------------------------------------------+-----------'
&lt;br&gt;&lt;br&gt;&lt;br&gt;[Mon Nov &amp;nbsp;9 10:08:31 2009] [info] *** Request 8 (0.154/s) [5954]
&lt;br&gt;[Mon Nov &amp;nbsp;9 10:08:31 2009] ***
&lt;br&gt;[Mon Nov &amp;nbsp;9 10:08:31 2009] [debug] &amp;quot;GET&amp;quot; request for &amp;quot;login&amp;quot; from
&lt;br&gt;&amp;quot;127.0.0.1&amp;quot;
&lt;br&gt;[Mon Nov &amp;nbsp;9 10:08:31 2009] [debug] Path is &amp;quot;login&amp;quot;
&lt;br&gt;[Mon Nov &amp;nbsp;9 10:08:31 2009] [debug] Rendering template &amp;quot;login.tt2&amp;quot;
&lt;br&gt;[Mon Nov &amp;nbsp;9 10:08:31 2009] [debug] Created session
&lt;br&gt;&amp;quot;d3461d4598946c79a5a95e095672819fa6c09bef&amp;quot;
&lt;br&gt;[Mon Nov &amp;nbsp;9 10:08:32 2009] [info] Request took 0.058135s (17.201/s)
&lt;br&gt;.------------------------------------------------------------+-----------.
&lt;br&gt;| Action &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | Time
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;|
&lt;br&gt;+------------------------------------------------------------+-----------+
&lt;br&gt;| /auto &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &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;0.001886s |
&lt;br&gt;| /login/index &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &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;0.000486s |
&lt;br&gt;| /end &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &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;0.032852s |
&lt;br&gt;| &amp;nbsp;-&amp;gt; BiblioList::View::TT-&amp;gt;process &amp;nbsp; &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;0.030826s |
&lt;br&gt;'------------------------------------------------------------+-----------'
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks for your time
&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;&lt;br&gt;Emmanuel
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;-------------------------
&lt;br&gt;Emmanuel Quevillon
&lt;br&gt;Biological Software and Databases Group
&lt;br&gt;Institut Pasteur
&lt;br&gt;+33 1 44 38 95 98
&lt;br&gt;tuco at_ pasteur dot fr
&lt;br&gt;-------------------------
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;List: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26263272&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Catalyst@...&lt;/a&gt;
&lt;br&gt;Listinfo: &lt;a href=&quot;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&lt;/a&gt;&lt;br&gt;Searchable archive: &lt;a href=&quot;http://www.mail-archive.com/catalyst@lists.scsys.co.uk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/catalyst@.../&lt;/a&gt;&lt;br&gt;Dev site: &lt;a href=&quot;http://dev.catalyst.perl.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.catalyst.perl.org/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Can%27t-redirect-using-%24c-%3Eres-%3Eredirect%28%29-tp26233214p26263272.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26260981</id>
	<title>Suppressing exceptions in Engine / UploadProgress</title>
	<published>2009-11-08T19:58:12Z</published>
	<updated>2009-11-08T19:58:12Z</updated>
	<author>
		<name>Bill Moseley</name>
	</author>
	<content type="html">I&amp;#39;m running under mod_perl, and when a user aborts an upload I get an error in the log.&lt;br&gt;&lt;br&gt;&lt;div style=&quot;margin-left: 40px;&quot;&gt;[error] Caught exception in engine &amp;quot;Apache2::RequestIO::read: (70014) &lt;br&gt;End of file found at /usr/local/share/perl/5.10.0/Catalyst/Engine/Apache.pm line 187&amp;quot;&lt;br&gt;

&lt;br&gt;&lt;/div&gt;I don&amp;#39;t see that it&amp;#39;s possible, but is there any way to ignore some exceptions (similar to how execute() can ignore a detach)?   Not sure there&amp;#39;s a good case for it, other than to simply ignore the above.  (I can modify my log monitoring to ignore those, for example).  But, there doesnt&amp;#39;s seen to be any way to get out of that block without generating an error message.&lt;br&gt;

&lt;br&gt;&lt;pre&gt;    eval {&lt;br&gt;        if ($class-&amp;gt;debug) {&lt;br&gt;            my $secs = time - $START || 1;&lt;br&gt;            my $av = sprintf &amp;#39;%.3f&amp;#39;, $COUNT / $secs;&lt;br&gt;            my $time = localtime time;&lt;br&gt;            $class-&amp;gt;log-&amp;gt;info(&amp;quot;*** Request $COUNT ($av/s) [$$] [$time] ***&amp;quot;);&lt;br&gt;

        }&lt;br&gt;&lt;br&gt;        my $c = $class-&amp;gt;prepare(@arguments);&lt;br&gt;        $c-&amp;gt;dispatch;&lt;br&gt;        $status = $c-&amp;gt;finalize;&lt;br&gt;    };&lt;br&gt;&lt;br&gt;    if ( my $error = $@ ) {&lt;br&gt;        chomp $error;&lt;br&gt;        $class-&amp;gt;log-&amp;gt;error(qq/Caught exception in engine &amp;quot;$error&amp;quot;/);&lt;br&gt;

    }&lt;br&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;Maybe I could override prepare() and return a different $c object with dummy dispatch and finalize methods, but I suspect another prepare() and that approach would break.&lt;br&gt;&lt;br&gt;BTW -- I was looking at this along with the UploadProgress plugin.  It does this to catch aborted uploads.&lt;br&gt;

The plugin is a bit old, but doesn&amp;#39;t seem like overriding croak is a good way to catch exceptions.  Is there any reason not to wrap prepare_body in an eval?   Yep, I just tried and under mod_perl2 this doesn&amp;#39;t catch aborted uploads.&lt;br&gt;

&lt;br&gt;&lt;pre&gt;    my $croaked;&lt;br&gt;    &lt;br&gt;    {&lt;br&gt;        no warnings &amp;#39;redefine&amp;#39;;&lt;br&gt;        local *Carp::croak = sub {&lt;br&gt;            $croaked = shift;&lt;br&gt;        };&lt;br&gt;        &lt;br&gt;        $c-&amp;gt;NEXT::prepare_body(@_);&lt;br&gt;

    }&lt;br&gt;    &lt;br&gt;    if ( $croaked ) {&lt;br&gt;        if ( my $id = $c-&amp;gt;req-&amp;gt;query_parameters-&amp;gt;{progress_id} ) {&lt;br&gt;            $c-&amp;gt;log-&amp;gt;info( &amp;quot;UploadProgress: User aborted upload $id&amp;quot; );&lt;br&gt;        &lt;br&gt;

            # Update progress to flag this so javascript will stop polling&lt;br&gt;            my $progress = $c-&amp;gt;cache-&amp;gt;get( &amp;#39;upload_progress_&amp;#39; . $id ) || {};&lt;br&gt;        &lt;br&gt;            $progress-&amp;gt;{aborted} = 1;&lt;br&gt;

        &lt;br&gt;            $c-&amp;gt;cache-&amp;gt;set( &amp;#39;upload_progress_&amp;#39; . $id, $progress );&lt;br&gt;        }&lt;br&gt;        &lt;br&gt;        # rethrow the error&lt;br&gt;        Catalyst::Exception-&amp;gt;throw( $croaked );&lt;br&gt;    }&lt;br&gt;&lt;font face=&quot;arial,helvetica,sans-serif&quot;&gt;&lt;br&gt;

&lt;br&gt;&lt;/font&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- &lt;br&gt;Bill Moseley&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26260981&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;moseley@...&lt;/a&gt;&lt;br&gt;&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;List: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26260981&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Catalyst@...&lt;/a&gt;
&lt;br&gt;Listinfo: &lt;a href=&quot;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&lt;/a&gt;&lt;br&gt;Searchable archive: &lt;a href=&quot;http://www.mail-archive.com/catalyst@lists.scsys.co.uk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/catalyst@.../&lt;/a&gt;&lt;br&gt;Dev site: &lt;a href=&quot;http://dev.catalyst.perl.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.catalyst.perl.org/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Suppressing-exceptions-in-Engine---UploadProgress-tp26260981p26260981.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26257255</id>
	<title>Re: Include a local configuration file</title>
	<published>2009-11-08T11:45:30Z</published>
	<updated>2009-11-08T11:45:30Z</updated>
	<author>
		<name>J. Shirley</name>
	</author>
	<content type="html">&lt;div class=&quot;gmail_quote&quot;&gt;2009/11/8 Octavian Râşniţă &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26257255&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;orasnita@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
Hello,&lt;br&gt;
&lt;br&gt;
I want to include a configuration file (for generating a menu) in a separate file, not in &lt;a href=&quot;http://myapp.pl&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;myapp.pl&lt;/a&gt; nor &lt;a href=&quot;http://myapp_local.pl&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;myapp_local.pl&lt;/a&gt;.&lt;br&gt;

&lt;br&gt;
That file (&lt;a href=&quot;http://menu.pl&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;menu.pl&lt;/a&gt;) also contains a perl hashref inside.&lt;br&gt;
&lt;br&gt;
I have included this file using the following line in &lt;a href=&quot;http://myapp.pl&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;myapp.pl&lt;/a&gt; and it works under Windows:&lt;br&gt;
&lt;br&gt;
menu =&amp;gt; do(&amp;#39;&lt;a href=&quot;http://menu.pl&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;menu.pl&lt;/a&gt;&amp;#39;),&lt;br&gt;
&lt;br&gt;
but it doesn&amp;#39;t work under Linux.&lt;br&gt;
&lt;br&gt;
Under Linux I have tried:&lt;br&gt;
&lt;br&gt;
menu =&amp;gt; do(&amp;quot;__path_to(&lt;a href=&quot;http://menu.pl&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;menu.pl&lt;/a&gt;)__&amp;quot;),&lt;br&gt;
&lt;br&gt;
but it doesn&amp;#39;t want to work this way.&lt;br&gt;
&lt;br&gt;
It does want to work if I use:&lt;br&gt;
&lt;br&gt;
menu =&amp;gt; do(&amp;#39;/srv/MyApp/&lt;a href=&quot;http://menu.pl&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;menu.pl&lt;/a&gt;&amp;#39;),&lt;br&gt;
&lt;br&gt;
and I can put this configuration in &lt;a href=&quot;http://myapp_local.pl&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;myapp_local.pl&lt;/a&gt;, but... is there a way of specifying the path to the home directory in order to not need using &lt;a href=&quot;http://myapp_local.pl&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;myapp_local.pl&lt;/a&gt;?&lt;br&gt;

&lt;br&gt;
&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;You can&amp;#39;t just magically put &amp;quot;__path_to(...)__&amp;quot; in any string and expect it to work.  That&amp;#39;s something Catalyst::Plugin::ConfigLoader does.&lt;br&gt;&lt;br&gt;If you want it in code, use MyApp-&amp;gt;path_to.&lt;br&gt;
&lt;br&gt;-J&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;List: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26257255&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Catalyst@...&lt;/a&gt;
&lt;br&gt;Listinfo: &lt;a href=&quot;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&lt;/a&gt;&lt;br&gt;Searchable archive: &lt;a href=&quot;http://www.mail-archive.com/catalyst@lists.scsys.co.uk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/catalyst@.../&lt;/a&gt;&lt;br&gt;Dev site: &lt;a href=&quot;http://dev.catalyst.perl.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.catalyst.perl.org/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Include-a-local-configuration-file-tp26254878p26257255.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26254878</id>
	<title>Include a local configuration file</title>
	<published>2009-11-08T07:41:20Z</published>
	<updated>2009-11-08T07:41:20Z</updated>
	<author>
		<name>Octavian Râşniţă</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;I want to include a configuration file (for generating a menu) in a separate 
&lt;br&gt;file, not in myapp.pl nor myapp_local.pl.
&lt;br&gt;&lt;br&gt;That file (menu.pl) also contains a perl hashref inside.
&lt;br&gt;&lt;br&gt;I have included this file using the following line in myapp.pl and it works 
&lt;br&gt;under Windows:
&lt;br&gt;&lt;br&gt;menu =&amp;gt; do('menu.pl'),
&lt;br&gt;&lt;br&gt;but it doesn't work under Linux.
&lt;br&gt;&lt;br&gt;Under Linux I have tried:
&lt;br&gt;&lt;br&gt;menu =&amp;gt; do(&amp;quot;__path_to(menu.pl)__&amp;quot;),
&lt;br&gt;&lt;br&gt;but it doesn't want to work this way.
&lt;br&gt;&lt;br&gt;It does want to work if I use:
&lt;br&gt;&lt;br&gt;menu =&amp;gt; do('/srv/MyApp/menu.pl'),
&lt;br&gt;&lt;br&gt;and I can put this configuration in myapp_local.pl, but... is there a way of 
&lt;br&gt;specifying the path to the home directory in order to not need using 
&lt;br&gt;myapp_local.pl?
&lt;br&gt;&lt;br&gt;Thank you.
&lt;br&gt;&lt;br&gt;Octavian
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;List: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26254878&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Catalyst@...&lt;/a&gt;
&lt;br&gt;Listinfo: &lt;a href=&quot;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&lt;/a&gt;&lt;br&gt;Searchable archive: &lt;a href=&quot;http://www.mail-archive.com/catalyst@lists.scsys.co.uk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/catalyst@.../&lt;/a&gt;&lt;br&gt;Dev site: &lt;a href=&quot;http://dev.catalyst.perl.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.catalyst.perl.org/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Include-a-local-configuration-file-tp26254878p26254878.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26251748</id>
	<title>$c-&gt;visit/go vs. $c-&gt;forward/dispatch</title>
	<published>2009-11-08T00:33:39Z</published>
	<updated>2009-11-08T00:33:39Z</updated>
	<author>
		<name>Kiffin Gish-3</name>
	</author>
	<content type="html">Just curious to learn more about how and when to use $c-&amp;gt;visit/go in
&lt;br&gt;place of a $c-&amp;gt;forward/dispatch. I understand the documented
&lt;br&gt;differences, but are there any illustrative examples I could look at to
&lt;br&gt;learn more?
&lt;br&gt;&lt;br&gt;Also, when would one choose to use a $c-&amp;gt;redirect instead?
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Kiffin Gish &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26251748&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kiffin.Gish@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Gouda, The Netherlands
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;List: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26251748&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Catalyst@...&lt;/a&gt;
&lt;br&gt;Listinfo: &lt;a href=&quot;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&lt;/a&gt;&lt;br&gt;Searchable archive: &lt;a href=&quot;http://www.mail-archive.com/catalyst@lists.scsys.co.uk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/catalyst@.../&lt;/a&gt;&lt;br&gt;Dev site: &lt;a href=&quot;http://dev.catalyst.perl.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.catalyst.perl.org/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/%24c-%3Evisit-go-vs.-%24c-%3Eforward-dispatch-tp26251748p26251748.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26251618</id>
	<title>Re: does detach cancel forward</title>
	<published>2009-11-08T00:02:47Z</published>
	<updated>2009-11-08T00:02:47Z</updated>
	<author>
		<name>Andrew Rodland</name>
	</author>
	<content type="html">On Saturday 07 November 2009 05:30:27 pm Andrew Rodland wrote:
&lt;br&gt;&amp;gt; &amp;nbsp;out, detach throws an extension that unwinds that whole stack.
&lt;br&gt;&lt;br&gt;Being tired makes me type words that *sound* similar to the one I meant. 
&lt;br&gt;Exception. Not extension. Exception. :)
&lt;br&gt;&lt;br&gt;Andrew
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;List: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26251618&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Catalyst@...&lt;/a&gt;
&lt;br&gt;Listinfo: &lt;a href=&quot;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&lt;/a&gt;&lt;br&gt;Searchable archive: &lt;a href=&quot;http://www.mail-archive.com/catalyst@lists.scsys.co.uk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/catalyst@.../&lt;/a&gt;&lt;br&gt;Dev site: &lt;a href=&quot;http://dev.catalyst.perl.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.catalyst.perl.org/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/does-detach-cancel-forward-tp26167188p26251618.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26251599</id>
	<title>Re: does detach cancel forward</title>
	<published>2009-11-07T23:54:12Z</published>
	<updated>2009-11-07T23:54:12Z</updated>
	<author>
		<name>Aristotle Pagaltzis</name>
	</author>
	<content type="html">* Steve Rippl &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26251599&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rippls@...&lt;/a&gt;&amp;gt; [2009-11-08 00:55]:
&lt;br&gt;&amp;gt; But if I put use eval{$c-&amp;gt;forward...) as Bill suggested then
&lt;br&gt;&amp;gt; a detach within that gets me back to where I want to be.
&lt;br&gt;&amp;gt; I could probably rework things and remove the detaches I have
&lt;br&gt;&amp;gt; in there and just rely on the appropriate forwards, but the
&lt;br&gt;&amp;gt; eval{} is a quick solution.
&lt;br&gt;&lt;br&gt;It sounds like maybe you are actually looking for Chained
&lt;br&gt;dispatch. If you can illustrate what you are trying to do with
&lt;br&gt;some (pseudo-)code, me or someone else could show an equivalent
&lt;br&gt;structure using Chained; if it fits the problem you’re trying to
&lt;br&gt;solve it’ll likely be cleaner.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;-- 
&lt;br&gt;Aristotle Pagaltzis // &amp;lt;&lt;a href=&quot;http://plasmasturm.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://plasmasturm.org/&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;List: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26251599&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Catalyst@...&lt;/a&gt;
&lt;br&gt;Listinfo: &lt;a href=&quot;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&lt;/a&gt;&lt;br&gt;Searchable archive: &lt;a href=&quot;http://www.mail-archive.com/catalyst@lists.scsys.co.uk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/catalyst@.../&lt;/a&gt;&lt;br&gt;Dev site: &lt;a href=&quot;http://dev.catalyst.perl.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.catalyst.perl.org/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/does-detach-cancel-forward-tp26167188p26251599.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26249714</id>
	<title>Re: does detach cancel forward</title>
	<published>2009-11-07T15:44:28Z</published>
	<updated>2009-11-07T15:44:28Z</updated>
	<author>
		<name>Steve Rippl-2</name>
	</author>
	<content type="html">On Sat, 2009-11-07 at 15:30 -0800, Andrew Rodland wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Saturday 07 November 2009 01:08:33 pm Steve Rippl wrote:
&lt;br&gt;&amp;gt; &amp;gt; it's just that I had started thinking
&lt;br&gt;&amp;gt; &amp;gt; in terms of &amp;quot;nested&amp;quot; flow control because that's what I wanted
&lt;br&gt;&amp;gt; (wishful
&lt;br&gt;&amp;gt; &amp;gt; thinking...). &amp;nbsp;I thought perhaps each forward created a separate
&lt;br&gt;&amp;gt; &amp;gt; nest/level I could detach out of and previous forwards were
&lt;br&gt;&amp;gt; &amp;gt; &amp;quot;remembered&amp;quot;, but obviously this isn't the case.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; No, this *is* the case, 100%. Forward is nothing more than a function
&lt;br&gt;&amp;gt; call, so
&lt;br&gt;&amp;gt; you can nest it and you get a call stack. It's just that, as I pointed
&lt;br&gt;&amp;gt; out,
&lt;br&gt;&amp;gt; detach throws an extension that unwinds that whole stack.
&lt;br&gt;&amp;gt; 
&lt;/div&gt;Sorry I wasn't clear, I got that it worked that way with forward, what
&lt;br&gt;threw me was I didn't assume that detach unwound the whole stack (until
&lt;br&gt;I saw it behaving that way). &amp;nbsp;But if I put use eval{$c-&amp;gt;forward...) as
&lt;br&gt;Bill suggested then a detach within that gets me back to where I want to
&lt;br&gt;be. &amp;nbsp;I could probably rework things and remove the detaches I have in
&lt;br&gt;there and just rely on the appropriate forwards, but the eval{} is a
&lt;br&gt;quick solution.
&lt;br&gt;&lt;br&gt;Thanks for clarifying...
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;List: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26249714&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Catalyst@...&lt;/a&gt;
&lt;br&gt;Listinfo: &lt;a href=&quot;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&lt;/a&gt;&lt;br&gt;Searchable archive: &lt;a href=&quot;http://www.mail-archive.com/catalyst@lists.scsys.co.uk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/catalyst@.../&lt;/a&gt;&lt;br&gt;Dev site: &lt;a href=&quot;http://dev.catalyst.perl.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.catalyst.perl.org/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/does-detach-cancel-forward-tp26167188p26249714.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26249647</id>
	<title>Re: does detach cancel forward</title>
	<published>2009-11-07T15:30:27Z</published>
	<updated>2009-11-07T15:30:27Z</updated>
	<author>
		<name>Andrew Rodland</name>
	</author>
	<content type="html">On Saturday 07 November 2009 01:08:33 pm Steve Rippl wrote:
&lt;br&gt;&amp;gt; it's just that I had started thinking
&lt;br&gt;&amp;gt; in terms of &amp;quot;nested&amp;quot; flow control because that's what I wanted (wishful
&lt;br&gt;&amp;gt; thinking...). &amp;nbsp;I thought perhaps each forward created a separate
&lt;br&gt;&amp;gt; nest/level I could detach out of and previous forwards were
&lt;br&gt;&amp;gt; &amp;quot;remembered&amp;quot;, but obviously this isn't the case.
&lt;br&gt;&lt;br&gt;No, this *is* the case, 100%. Forward is nothing more than a function call, so 
&lt;br&gt;you can nest it and you get a call stack. It's just that, as I pointed out, 
&lt;br&gt;detach throws an extension that unwinds that whole stack.
&lt;br&gt;&lt;br&gt;Andrew
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;List: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26249647&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Catalyst@...&lt;/a&gt;
&lt;br&gt;Listinfo: &lt;a href=&quot;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&lt;/a&gt;&lt;br&gt;Searchable archive: &lt;a href=&quot;http://www.mail-archive.com/catalyst@lists.scsys.co.uk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/catalyst@.../&lt;/a&gt;&lt;br&gt;Dev site: &lt;a href=&quot;http://dev.catalyst.perl.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.catalyst.perl.org/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/does-detach-cancel-forward-tp26167188p26249647.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26249389</id>
	<title>Re: does detach cancel forward</title>
	<published>2009-11-07T14:28:43Z</published>
	<updated>2009-11-07T14:28:43Z</updated>
	<author>
		<name>Steve Rippl-2</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 3.2//EN&quot;&gt;
&lt;HTML&gt;
&lt;HEAD&gt;
&lt;META HTTP-EQUIV=&quot;Content-Type&quot; CONTENT=&quot;text/html; charset=iso-8859-1&quot;&gt;
&lt;META NAME=&quot;Generator&quot; CONTENT=&quot;MS Exchange Server version 6.5.7653.38&quot;&gt;
&lt;TITLE&gt;Re: [Catalyst] does detach cancel forward&lt;/TITLE&gt;
&lt;/HEAD&gt;
&lt;BODY&gt;
&lt;!-- Converted from text/plain format --&gt;

&lt;P&gt;&lt;FONT SIZE=2&gt;On Sat, 2009-11-07 at 12:55 -0800, Bill Moseley wrote:&lt;BR&gt;
&amp;gt;&lt;BR&gt;
&amp;gt;&lt;BR&gt;
&amp;gt; On Sat, Nov 7, 2009 at 11:08 AM, Steve Rippl&lt;BR&gt;
&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26249389&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rippls@...&lt;/a&gt;&amp;gt; wrote:&lt;BR&gt;
&amp;gt;&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;&lt;BR&gt;
&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; As the noob that started all this I would say that the docs I&lt;BR&gt;
&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; came&lt;BR&gt;
&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; across (the online tutorial and the books) are pretty clear on&lt;BR&gt;
&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; what the&lt;BR&gt;
&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; effects of forward and detach are, it's just that I had&lt;BR&gt;
&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; started thinking&lt;BR&gt;
&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; in terms of &amp;quot;nested&amp;quot; flow control because that's what I wanted&lt;BR&gt;
&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (wishful&lt;BR&gt;
&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; thinking...).&amp;nbsp; I thought perhaps each forward created a&lt;BR&gt;
&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; separate&lt;BR&gt;
&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; nest/level I could detach out of and previous forwards were&lt;BR&gt;
&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;quot;remembered&amp;quot;, but obviously this isn't the case.&amp;nbsp; Maybe just&lt;BR&gt;
&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; something&lt;BR&gt;
&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; stating that this flow control is &amp;quot;flat&amp;quot; in some sense, each&lt;BR&gt;
&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; control&lt;BR&gt;
&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; statement has no notion of previous ones...&lt;BR&gt;
&amp;gt;&lt;BR&gt;
&amp;gt;&lt;BR&gt;
&amp;gt; eval { }&lt;BR&gt;
&amp;gt;&amp;nbsp;&lt;BR&gt;
&lt;BR&gt;
Well that works, thanks!!&lt;BR&gt;
&lt;/FONT&gt;
&lt;/P&gt;

&lt;/BODY&gt;
&lt;/HTML&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;List: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26249389&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Catalyst@...&lt;/a&gt;
&lt;br&gt;Listinfo: &lt;a href=&quot;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&lt;/a&gt;&lt;br&gt;Searchable archive: &lt;a href=&quot;http://www.mail-archive.com/catalyst@lists.scsys.co.uk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/catalyst@.../&lt;/a&gt;&lt;br&gt;Dev site: &lt;a href=&quot;http://dev.catalyst.perl.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.catalyst.perl.org/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/does-detach-cancel-forward-tp26167188p26249389.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26248710</id>
	<title>Re: Adding controllers to an app from a plugin</title>
	<published>2009-11-07T13:25:07Z</published>
	<updated>2009-11-07T13:25:07Z</updated>
	<author>
		<name>Tomas Doran</name>
	</author>
	<content type="html">&lt;br&gt;On 7 Nov 2009, at 20:06, Edmund von der Burg wrote:
&lt;br&gt;&amp;gt; Is there already code on CPAN that helps me inject my plugin
&lt;br&gt;&amp;gt; controller into the app? Is there a better way to do this? Should I
&lt;br&gt;&amp;gt; rip out the smarts from C::P::AutoCRUD and make them reusable (and if
&lt;br&gt;&amp;gt; so what should it be called)?
&lt;br&gt;&lt;br&gt;You're after CatalystX::InjectComponent
&lt;br&gt;&lt;br&gt;Cheers
&lt;br&gt;t0m
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;List: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26248710&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Catalyst@...&lt;/a&gt;
&lt;br&gt;Listinfo: &lt;a href=&quot;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&lt;/a&gt;&lt;br&gt;Searchable archive: &lt;a href=&quot;http://www.mail-archive.com/catalyst@lists.scsys.co.uk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/catalyst@.../&lt;/a&gt;&lt;br&gt;Dev site: &lt;a href=&quot;http://dev.catalyst.perl.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.catalyst.perl.org/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Adding-controllers-to-an-app-from-a-plugin-tp26248149p26248710.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26248523</id>
	<title>Re: does detach cancel forward</title>
	<published>2009-11-07T12:55:57Z</published>
	<updated>2009-11-07T12:55:57Z</updated>
	<author>
		<name>Bill Moseley</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Sat, Nov 7, 2009 at 11:08 AM, Steve Rippl &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26248523&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rippls@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

&lt;div class=&quot;im&quot;&gt;&lt;br&gt;
&lt;/div&gt;As the noob that started all this I would say that the docs I came&lt;br&gt;
across (the online tutorial and the books) are pretty clear on what the&lt;br&gt;
effects of forward and detach are, it&amp;#39;s just that I had started thinking&lt;br&gt;
in terms of &amp;quot;nested&amp;quot; flow control because that&amp;#39;s what I wanted (wishful&lt;br&gt;
thinking...).  I thought perhaps each forward created a separate&lt;br&gt;
nest/level I could detach out of and previous forwards were&lt;br&gt;
&amp;quot;remembered&amp;quot;, but obviously this isn&amp;#39;t the case.  Maybe just something&lt;br&gt;
stating that this flow control is &amp;quot;flat&amp;quot; in some sense, each control&lt;br&gt;
statement has no notion of previous ones...&lt;br&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;&lt;br&gt;eval { }&lt;br&gt; &lt;/div&gt;&lt;/div&gt;&lt;br&gt;-- &lt;br&gt;Bill Moseley&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26248523&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;moseley@...&lt;/a&gt;&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;List: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26248523&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Catalyst@...&lt;/a&gt;
&lt;br&gt;Listinfo: &lt;a href=&quot;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&lt;/a&gt;&lt;br&gt;Searchable archive: &lt;a href=&quot;http://www.mail-archive.com/catalyst@lists.scsys.co.uk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/catalyst@.../&lt;/a&gt;&lt;br&gt;Dev site: &lt;a href=&quot;http://dev.catalyst.perl.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.catalyst.perl.org/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/does-detach-cancel-forward-tp26167188p26248523.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26248267</id>
	<title>Re: Session and adding cookie headers</title>
	<published>2009-11-07T12:21:26Z</published>
	<updated>2009-11-07T12:21:26Z</updated>
	<author>
		<name>Edmund von der Burg</name>
	</author>
	<content type="html">2009/11/7 Bill Moseley &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26248267&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;moseley@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt; Is it the intended behavior  to set a cookie any time the session is *fetched* even if nothing is set in the session?
&lt;br&gt;&lt;br&gt;I wouldn't say that it is intended behaviour, but it is behaviour that
&lt;br&gt;is used in the C::P::Session test suite.
&lt;br&gt;&lt;br&gt;When you check for a session using $c-&amp;gt;session a session is created
&lt;br&gt;and then persisted on the browser using a cookie. There is no logic to
&lt;br&gt;check if there is anything interesting stored in the session (ie that
&lt;br&gt;it is not a 'null session').
&lt;br&gt;&lt;br&gt;You might want to look at the following code which I wrote a while
&lt;br&gt;back and added to the repo but never released to CPAN - it would just
&lt;br&gt;muddy the waters:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://dev.catalystframework.org/repos/Catalyst/Catalyst-Plugin-Session/0.00/branches/high_performance/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.catalystframework.org/repos/Catalyst/Catalyst-Plugin-Session/0.00/branches/high_performance/&lt;/a&gt;&lt;br&gt;&lt;br&gt;It tries not to do anything silly :)
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;&amp;nbsp; Edmund.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Bill Moseley
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26248267&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;moseley@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; List: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26248267&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Catalyst@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Listinfo: &lt;a href=&quot;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&lt;/a&gt;&lt;br&gt;&amp;gt; Searchable archive: &lt;a href=&quot;http://www.mail-archive.com/catalyst@lists.scsys.co.uk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/catalyst@.../&lt;/a&gt;&lt;br&gt;&amp;gt; Dev site: &lt;a href=&quot;http://dev.catalyst.perl.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.catalyst.perl.org/&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;List: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26248267&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Catalyst@...&lt;/a&gt;
&lt;br&gt;Listinfo: &lt;a href=&quot;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&lt;/a&gt;&lt;br&gt;Searchable archive: &lt;a href=&quot;http://www.mail-archive.com/catalyst@lists.scsys.co.uk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/catalyst@.../&lt;/a&gt;&lt;br&gt;Dev site: &lt;a href=&quot;http://dev.catalyst.perl.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.catalyst.perl.org/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Session-and-adding-cookie-headers-tp26241288p26248267.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26248149</id>
	<title>Adding controllers to an app from a plugin</title>
	<published>2009-11-07T12:06:58Z</published>
	<updated>2009-11-07T12:06:58Z</updated>
	<author>
		<name>Edmund von der Burg-2</name>
	</author>
	<content type="html">Hello all.
&lt;br&gt;&lt;br&gt;I want to create a plugin that adds a controller to an app. From
&lt;br&gt;looking at code on CPAN that does this* it seems that manually
&lt;br&gt;creating controllers in the project that inherit from the one that is
&lt;br&gt;provided by the plugin is the way to do it.
&lt;br&gt;&lt;br&gt;Another way to do it is to intercept the request in 'dispatch' and
&lt;br&gt;take the appropriate action** - but I really don't like that at all.
&lt;br&gt;For starters I want my controller to appear like all the others in the
&lt;br&gt;debug output.
&lt;br&gt;&lt;br&gt;Is there already code on CPAN that helps me inject my plugin
&lt;br&gt;controller into the app? Is there a better way to do this? Should I
&lt;br&gt;rip out the smarts from C::P::AutoCRUD and make them reusable (and if
&lt;br&gt;so what should it be called)?
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;&amp;nbsp; Edmund.
&lt;br&gt;&lt;br&gt;* &lt;a href=&quot;http://cpansearch.perl.org/src/OLIVER/Catalyst-Plugin-AutoCRUD-0.56/lib/Catalyst/Plugin/AutoCRUD.pm&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cpansearch.perl.org/src/OLIVER/Catalyst-Plugin-AutoCRUD-0.56/lib/Catalyst/Plugin/AutoCRUD.pm&lt;/a&gt;&lt;br&gt;** &lt;a href=&quot;http://cpansearch.perl.org/src/AGRUNDMA/Catalyst-Plugin-UploadProgress-0.04/lib/Catalyst/Plugin/UploadProgress.pm&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cpansearch.perl.org/src/AGRUNDMA/Catalyst-Plugin-UploadProgress-0.04/lib/Catalyst/Plugin/UploadProgress.pm&lt;/a&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;List: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26248149&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Catalyst@...&lt;/a&gt;
&lt;br&gt;Listinfo: &lt;a href=&quot;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&lt;/a&gt;&lt;br&gt;Searchable archive: &lt;a href=&quot;http://www.mail-archive.com/catalyst@lists.scsys.co.uk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/catalyst@.../&lt;/a&gt;&lt;br&gt;Dev site: &lt;a href=&quot;http://dev.catalyst.perl.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.catalyst.perl.org/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Adding-controllers-to-an-app-from-a-plugin-tp26248149p26248149.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26247691</id>
	<title>Re: does detach cancel forward</title>
	<published>2009-11-07T11:08:33Z</published>
	<updated>2009-11-07T11:08:33Z</updated>
	<author>
		<name>Steve Rippl-2</name>
	</author>
	<content type="html">On Sat, 2009-11-07 at 01:07 -0800, Andrew Rodland wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Yeah, there are at least two big shortcomings.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 1. I think that we should stop trying to over-simplify things here, or
&lt;br&gt;&amp;gt; at
&lt;br&gt;&amp;gt; least stop *only* providing a simplified version and tell the truth:
&lt;br&gt;&amp;gt; detach
&lt;br&gt;&amp;gt; forwards, and then it throws an exception. That exception propagates
&lt;br&gt;&amp;gt; up until
&lt;br&gt;&amp;gt; the whole stack of running actions is unwound, and then Catalyst
&lt;br&gt;&amp;gt; catches it
&lt;br&gt;&amp;gt; and continues processing as usual, calling any 'end' action and then
&lt;br&gt;&amp;gt; doing
&lt;br&gt;&amp;gt; 'finalize'.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 2. There's a &amp;quot;Flow Control&amp;quot; section in Catalyst::Manual::Intro that
&lt;br&gt;&amp;gt; paints a
&lt;br&gt;&amp;gt; better picture than perldoc Catalyst, but someone going directly to
&lt;br&gt;&amp;gt; the docs
&lt;br&gt;&amp;gt; for forward, detach, etc. can easily miss the pointers to
&lt;br&gt;&amp;gt; Catalyst::Manual::Intro. The whole Manual::Intro business is a mess
&lt;br&gt;&amp;gt; that
&lt;br&gt;&amp;gt; nobody wants to touch. I don't know what to do with it either. :)
&lt;br&gt;&amp;gt; 
&lt;/div&gt;As the noob that started all this I would say that the docs I came
&lt;br&gt;across (the online tutorial and the books) are pretty clear on what the
&lt;br&gt;effects of forward and detach are, it's just that I had started thinking
&lt;br&gt;in terms of &amp;quot;nested&amp;quot; flow control because that's what I wanted (wishful
&lt;br&gt;thinking...). &amp;nbsp;I thought perhaps each forward created a separate
&lt;br&gt;nest/level I could detach out of and previous forwards were
&lt;br&gt;&amp;quot;remembered&amp;quot;, but obviously this isn't the case. &amp;nbsp;Maybe just something
&lt;br&gt;stating that this flow control is &amp;quot;flat&amp;quot; in some sense, each control
&lt;br&gt;statement has no notion of previous ones... &amp;nbsp;
&lt;br&gt;&lt;br&gt;Anyway, thanks to you all for straightening me out!
&lt;br&gt;&lt;br&gt;Steve
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Steve Rippl
&lt;br&gt;Technology Director
&lt;br&gt;Woodland Public Schools
&lt;br&gt;360 225 9451 x326
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;List: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26247691&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Catalyst@...&lt;/a&gt;
&lt;br&gt;Listinfo: &lt;a href=&quot;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&lt;/a&gt;&lt;br&gt;Searchable archive: &lt;a href=&quot;http://www.mail-archive.com/catalyst@lists.scsys.co.uk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/catalyst@.../&lt;/a&gt;&lt;br&gt;Dev site: &lt;a href=&quot;http://dev.catalyst.perl.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.catalyst.perl.org/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/does-detach-cancel-forward-tp26167188p26247691.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26244377</id>
	<title>Re: does detach cancel forward</title>
	<published>2009-11-07T01:07:16Z</published>
	<updated>2009-11-07T01:07:16Z</updated>
	<author>
		<name>Andrew Rodland</name>
	</author>
	<content type="html">On Wednesday 04 November 2009 04:19:42 pm Ovid wrote:
&lt;br&gt;&amp;gt; Think of detach as &amp;quot;game over&amp;quot;, if that helps (probably doesn't). &amp;nbsp;From the
&lt;br&gt;&amp;gt; &amp;nbsp;docs, detach(....) is described as:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; The same as forward, but doesn't return to the previous action when
&lt;br&gt;&amp;gt; &amp;nbsp;processing is finished.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I think that description might be a bit confusing for some, as your
&lt;br&gt;&amp;gt; &amp;nbsp;question suggests.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;Yeah, there are at least two big shortcomings.
&lt;br&gt;&lt;br&gt;1. I think that we should stop trying to over-simplify things here, or at 
&lt;br&gt;least stop *only* providing a simplified version and tell the truth: detach 
&lt;br&gt;forwards, and then it throws an exception. That exception propagates up until 
&lt;br&gt;the whole stack of running actions is unwound, and then Catalyst catches it 
&lt;br&gt;and continues processing as usual, calling any 'end' action and then doing 
&lt;br&gt;'finalize'.
&lt;br&gt;&lt;br&gt;2. There's a &amp;quot;Flow Control&amp;quot; section in Catalyst::Manual::Intro that paints a 
&lt;br&gt;better picture than perldoc Catalyst, but someone going directly to the docs 
&lt;br&gt;for forward, detach, etc. can easily miss the pointers to 
&lt;br&gt;Catalyst::Manual::Intro. The whole Manual::Intro business is a mess that 
&lt;br&gt;nobody wants to touch. I don't know what to do with it either. :)
&lt;br&gt;&lt;br&gt;Andrew
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;List: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26244377&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Catalyst@...&lt;/a&gt;
&lt;br&gt;Listinfo: &lt;a href=&quot;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&lt;/a&gt;&lt;br&gt;Searchable archive: &lt;a href=&quot;http://www.mail-archive.com/catalyst@lists.scsys.co.uk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/catalyst@.../&lt;/a&gt;&lt;br&gt;Dev site: &lt;a href=&quot;http://dev.catalyst.perl.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.catalyst.perl.org/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/does-detach-cancel-forward-tp26167188p26244377.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26244376</id>
	<title>Re: does detach cancel forward</title>
	<published>2009-11-07T00:52:02Z</published>
	<updated>2009-11-07T00:52:02Z</updated>
	<author>
		<name>David Schmidt-10</name>
	</author>
	<content type="html">&amp;gt;From the new Catalyst Book:
&lt;br&gt;&lt;br&gt;&amp;quot;$c-&amp;gt;forward returns to the calling action and ompletes the request,
&lt;br&gt;while $c-&amp;gt;detach proceeds to the end action after the called actions
&lt;br&gt;are completed.&amp;quot;
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Wed, Nov 4, 2009 at 11:19 PM, Ovid &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26244376&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;publiustemp-catalyst@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; ----- Original Message ----
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; From: Steve Rippl &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26244376&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rippls@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I'm building &amp;quot;chains&amp;quot; of methods using forward and detach mostly, I
&lt;br&gt;&amp;gt;&amp;gt; quote the chains because I know it's not the regular chained methods but
&lt;br&gt;&amp;gt;&amp;gt; my &amp;quot;chains&amp;quot; vary according to where you are etc.  Anyway, the question I
&lt;br&gt;&amp;gt;&amp;gt; have is whether forward is still valid after a detach... let me
&lt;br&gt;&amp;gt;&amp;gt; illustrate...
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; If A forwards to B, once B is done it comes back to A, that I use and it
&lt;br&gt;&amp;gt;&amp;gt; works.  If C detaches to D to doesn't come back after D, again I use
&lt;br&gt;&amp;gt;&amp;gt; that.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Now, If from A I forward to B, then B detaches to C which detaches to D,
&lt;br&gt;&amp;gt;&amp;gt; it doesn't seem to come back to A after D.  Is this my mistake
&lt;br&gt;&amp;gt;&amp;gt; somewhere, is it by design?  Does the detach after a forward &amp;quot;cancel&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt; the forward?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Think of detach as &amp;quot;game over&amp;quot;, if that helps (probably doesn't).  From the docs, detach(....) is described as:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;    The same as forward, but doesn't return to the previous action when processing is finished.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I think that description might be a bit confusing for some, as your question suggests.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Cheers,
&lt;br&gt;&amp;gt; Ovid
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Buy the book         - &lt;a href=&quot;http://www.oreilly.com/catalog/perlhks/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.oreilly.com/catalog/perlhks/&lt;/a&gt;&lt;br&gt;&amp;gt; Tech blog            - &lt;a href=&quot;http://use.perl.org/~Ovid/journal/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://use.perl.org/~Ovid/journal/&lt;/a&gt;&lt;br&gt;&amp;gt; Twitter              - &lt;a href=&quot;http://twitter.com/OvidPerl&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://twitter.com/OvidPerl&lt;/a&gt;&lt;br&gt;&amp;gt; Official Perl 6 Wiki - &lt;a href=&quot;http://www.perlfoundation.org/perl6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.perlfoundation.org/perl6&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; List: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26244376&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Catalyst@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Listinfo: &lt;a href=&quot;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&lt;/a&gt;&lt;br&gt;&amp;gt; Searchable archive: &lt;a href=&quot;http://www.mail-archive.com/catalyst@lists.scsys.co.uk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/catalyst@.../&lt;/a&gt;&lt;br&gt;&amp;gt; Dev site: &lt;a href=&quot;http://dev.catalyst.perl.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.catalyst.perl.org/&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;David Schmidt &amp;nbsp; | &amp;nbsp; &lt;a href=&quot;http://www.fm5.at&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.fm5.at&lt;/a&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;List: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26244376&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Catalyst@...&lt;/a&gt;
&lt;br&gt;Listinfo: &lt;a href=&quot;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&lt;/a&gt;&lt;br&gt;Searchable archive: &lt;a href=&quot;http://www.mail-archive.com/catalyst@lists.scsys.co.uk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/catalyst@.../&lt;/a&gt;&lt;br&gt;Dev site: &lt;a href=&quot;http://dev.catalyst.perl.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.catalyst.perl.org/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/does-detach-cancel-forward-tp26167188p26244376.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26241288</id>
	<title>Session and adding cookie headers</title>
	<published>2009-11-06T17:26:36Z</published>
	<updated>2009-11-06T17:26:36Z</updated>
	<author>
		<name>Bill Moseley</name>
	</author>
	<content type="html">Is it the intended behavior  to set a cookie any time the session is *fetched* even if nothing is set in the session?&lt;br&gt;
&lt;br&gt;With a new  app with these added plugins:&lt;br&gt;&lt;br&gt;    Cache&lt;br&gt;    Session&lt;br&gt;    Session::Store::Cache&lt;br&gt;    Session::State::Cookie&lt;br&gt;&lt;br&gt;And if I just add my $ses = $c-&amp;gt;session; to the index action in root then that causes a Set-Cookie header to be set in the response. (And if cookies are disabled on a browser then a new session id is created every request, and expires is written to the store).&lt;br&gt;

&lt;br&gt;Not a big deal, but just curious if that was by design or just a side-effect of how the session code works.&lt;br&gt;
&lt;br&gt;I typically use session cookies and don&amp;#39;t set a cookie header in the response if a valid session id was in the request cookie.&lt;br&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;Bill Moseley&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26241288&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;moseley@...&lt;/a&gt;&lt;br&gt;



&lt;br /&gt;_______________________________________________
&lt;br&gt;List: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26241288&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Catalyst@...&lt;/a&gt;
&lt;br&gt;Listinfo: &lt;a href=&quot;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&lt;/a&gt;&lt;br&gt;Searchable archive: &lt;a href=&quot;http://www.mail-archive.com/catalyst@lists.scsys.co.uk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/catalyst@.../&lt;/a&gt;&lt;br&gt;Dev site: &lt;a href=&quot;http://dev.catalyst.perl.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.catalyst.perl.org/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Session-and-adding-cookie-headers-tp26241288p26241288.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26234659</id>
	<title>Re: Can't redirect using $c-&gt;res-&gt;redirect()</title>
	<published>2009-11-06T08:17:10Z</published>
	<updated>2009-11-06T08:17:10Z</updated>
	<author>
		<name>Tomas Doran</name>
	</author>
	<content type="html">Octavian Râsnita wrote:
&lt;br&gt;&amp;gt; and then try to upgrade all the Catalyst:: modules and maybe a few 
&lt;br&gt;&amp;gt; others that you may think it could help and see if this solves the problem.
&lt;br&gt;&lt;br&gt;Field Circus[1] solutions may work, but it'd be nice to know what the 
&lt;br&gt;root cause is..
&lt;br&gt;&lt;br&gt;At least if you start upgrading random things to see if they fix it, 
&lt;br&gt;please keep a note of what you try upgrading, and what versions it goes 
&lt;br&gt;from =&amp;gt; to so that we get _some_ clues about where the breakage lies and 
&lt;br&gt;how to reproduce it?
&lt;br&gt;&lt;br&gt;Cheers
&lt;br&gt;t0m
&lt;br&gt;&lt;br&gt;[1] &lt;a href=&quot;http://www.jargon.net/jargonfile/f/fieldcircus.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.jargon.net/jargonfile/f/fieldcircus.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;List: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26234659&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Catalyst@...&lt;/a&gt;
&lt;br&gt;Listinfo: &lt;a href=&quot;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&lt;/a&gt;&lt;br&gt;Searchable archive: &lt;a href=&quot;http://www.mail-archive.com/catalyst@lists.scsys.co.uk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/catalyst@.../&lt;/a&gt;&lt;br&gt;Dev site: &lt;a href=&quot;http://dev.catalyst.perl.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.catalyst.perl.org/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Can%27t-redirect-using-%24c-%3Eres-%3Eredirect%28%29-tp26233214p26234659.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26234649</id>
	<title>Re: Can't redirect using $c-&gt;res-&gt;redirect()</title>
	<published>2009-11-06T08:14:53Z</published>
	<updated>2009-11-06T08:14:53Z</updated>
	<author>
		<name>Tomas Doran</name>
	</author>
	<content type="html">Emmanuel Quevillon wrote:
&lt;br&gt;&amp;gt; [Fri Nov &amp;nbsp;6 15:36:13 2009] [error] Caught exception in engine &amp;quot;Can't
&lt;br&gt;&amp;gt; call method &amp;quot;as_string&amp;quot; on an undefined value at
&lt;br&gt;&amp;gt; /usr/local/share/perl/5.10.0/Catalyst/Engine.pm line 95.&amp;quot;
&lt;br&gt;&lt;br&gt;Can you start your server with perl -MDevel::SimpleTrace 
&lt;br&gt;script/myapp_server.pl -d
&lt;br&gt;&lt;br&gt;and attach the full app startup, and the request which breaks (which 
&lt;br&gt;should now include a full stack trace in its error).
&lt;br&gt;&lt;br&gt;Thanks.
&lt;br&gt;t0m
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;List: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26234649&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Catalyst@...&lt;/a&gt;
&lt;br&gt;Listinfo: &lt;a href=&quot;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&lt;/a&gt;&lt;br&gt;Searchable archive: &lt;a href=&quot;http://www.mail-archive.com/catalyst@lists.scsys.co.uk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/catalyst@.../&lt;/a&gt;&lt;br&gt;Dev site: &lt;a href=&quot;http://dev.catalyst.perl.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.catalyst.perl.org/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Can%27t-redirect-using-%24c-%3Eres-%3Eredirect%28%29-tp26233214p26234649.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26233548</id>
	<title>Re: Can't redirect using $c-&gt;res-&gt;redirect()</title>
	<published>2009-11-06T07:06:01Z</published>
	<updated>2009-11-06T07:06:01Z</updated>
	<author>
		<name>Octavian Râşniţă</name>
	</author>
	<content type="html">From: &amp;quot;Emmanuel Quevillon&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26233548&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tuco@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I am facing a strange problem while redirecting to another url.
&lt;br&gt;&amp;gt; In my controller Logout::index, at the end,
&lt;br&gt;&amp;gt; $c-&amp;gt;res-&amp;gt;redirect($c-&amp;gt;uri_for('/')); with previous version of catalyst.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Now, when I do it, I get stacked on a blank page en I get an error
&lt;br&gt;&lt;br&gt;I also had a similar problem, although I hadn't check the logs, and I solved 
&lt;br&gt;it by upgrading all the Catalyst related modules.
&lt;br&gt;&lt;br&gt;Try doing a
&lt;br&gt;&lt;br&gt;cpan -O &amp;gt; file
&lt;br&gt;&lt;br&gt;and then try to upgrade all the Catalyst:: modules and maybe a few others 
&lt;br&gt;that you may think it could help and see if this solves the problem.
&lt;br&gt;&lt;br&gt;Octavian
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;List: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26233548&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Catalyst@...&lt;/a&gt;
&lt;br&gt;Listinfo: &lt;a href=&quot;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&lt;/a&gt;&lt;br&gt;Searchable archive: &lt;a href=&quot;http://www.mail-archive.com/catalyst@lists.scsys.co.uk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/catalyst@.../&lt;/a&gt;&lt;br&gt;Dev site: &lt;a href=&quot;http://dev.catalyst.perl.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.catalyst.perl.org/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Can%27t-redirect-using-%24c-%3Eres-%3Eredirect%28%29-tp26233214p26233548.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26233214</id>
	<title>Can't redirect using $c-&gt;res-&gt;redirect()</title>
	<published>2009-11-06T06:43:42Z</published>
	<updated>2009-11-06T06:43:42Z</updated>
	<author>
		<name>Emmanuel Quevillon-3</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I am facing a strange problem while redirecting to another url.
&lt;br&gt;In my controller Logout::index, at the end,
&lt;br&gt;$c-&amp;gt;res-&amp;gt;redirect($c-&amp;gt;uri_for('/')); with previous version of catalyst.
&lt;br&gt;&lt;br&gt;Now, when I do it, I get stacked on a blank page en I get an error
&lt;br&gt;in my logs :
&lt;br&gt;&lt;br&gt;[Fri Nov &amp;nbsp;6 15:36:13 2009] [error] Caught exception in engine &amp;quot;Can't
&lt;br&gt;call method &amp;quot;as_string&amp;quot; on an undefined value at
&lt;br&gt;/usr/local/share/perl/5.10.0/Catalyst/Engine.pm line 95.&amp;quot;
&lt;br&gt;&lt;br&gt;The only way I found to get it working is to call
&lt;br&gt;$c-&amp;gt;detach(qw/Login index/) which check for a user connected or not
&lt;br&gt;and so display login page or home page.
&lt;br&gt;&lt;br&gt;Has anybody a hint about this?
&lt;br&gt;&lt;br&gt;Thanks a lot
&lt;br&gt;&lt;br&gt;I am running Catalyst::Runtime 5.80013
&lt;br&gt;-- 
&lt;br&gt;-------------------------
&lt;br&gt;Emmanuel Quevillon
&lt;br&gt;Biological Software and Databases Group
&lt;br&gt;Institut Pasteur
&lt;br&gt;+33 1 44 38 95 98
&lt;br&gt;tuco at_ pasteur dot fr
&lt;br&gt;-------------------------
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;List: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26233214&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Catalyst@...&lt;/a&gt;
&lt;br&gt;Listinfo: &lt;a href=&quot;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&lt;/a&gt;&lt;br&gt;Searchable archive: &lt;a href=&quot;http://www.mail-archive.com/catalyst@lists.scsys.co.uk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/catalyst@.../&lt;/a&gt;&lt;br&gt;Dev site: &lt;a href=&quot;http://dev.catalyst.perl.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.catalyst.perl.org/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Can%27t-redirect-using-%24c-%3Eres-%3Eredirect%28%29-tp26233214p26233214.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26223432</id>
	<title>Re: Question about C:P:Unicode(::Encoding)</title>
	<published>2009-11-05T14:25:45Z</published>
	<updated>2009-11-05T14:25:45Z</updated>
	<author>
		<name>Tomas Doran</name>
	</author>
	<content type="html">&lt;br&gt;On 5 Nov 2009, at 21:31, Bill Moseley wrote:
&lt;br&gt;&amp;gt; In general, I think the right place to do the decoding is as close &amp;nbsp;
&lt;br&gt;&amp;gt; to the &amp;quot;edge&amp;quot; of the program as possible. &amp;nbsp;That might mean &amp;nbsp;
&lt;br&gt;&amp;gt; HTTP::Body -- or in the Engine code for query params. &amp;nbsp;But, I &amp;nbsp;
&lt;br&gt;&amp;gt; haven't looked at it. &amp;nbsp;Where do you think that &amp;quot;edge&amp;quot; would be?
&lt;br&gt;&lt;br&gt;Yes.
&lt;br&gt;&lt;br&gt;Having not thought about it too hard, I'd say the engine code + &amp;nbsp;
&lt;br&gt;Catalyst::Request::Upload + probably HTTP::Body are the right places :)
&lt;br&gt;&lt;br&gt;Cheers
&lt;br&gt;t0m
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;List: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26223432&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Catalyst@...&lt;/a&gt;
&lt;br&gt;Listinfo: &lt;a href=&quot;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&lt;/a&gt;&lt;br&gt;Searchable archive: &lt;a href=&quot;http://www.mail-archive.com/catalyst@lists.scsys.co.uk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/catalyst@.../&lt;/a&gt;&lt;br&gt;Dev site: &lt;a href=&quot;http://dev.catalyst.perl.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.catalyst.perl.org/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Question-about-C%3AP%3AUnicode%28%3A%3AEncoding%29-tp26042809p26223432.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26222643</id>
	<title>Re: Question about C:P:Unicode(::Encoding)</title>
	<published>2009-11-05T13:31:14Z</published>
	<updated>2009-11-05T13:31:14Z</updated>
	<author>
		<name>Bill Moseley</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Nov 5, 2009 at 1:24 PM, Tomas Doran &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26222643&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bobtfish@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

&lt;br&gt;&lt;div class=&quot;im&quot;&gt;&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
I&amp;#39;ve said this before, but I think this is something that Catalyst core should handle, not left to a plugin.&lt;br&gt;
&lt;/blockquote&gt;
&lt;br&gt;&lt;/div&gt;
I&amp;#39;d probably agree with you, at least as a configurable parameter - some of the things I&amp;#39;m doing now are really horribly breaking abstraction to get things done..&lt;br&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;In general, I think the right place to do the decoding is as close to the &amp;quot;edge&amp;quot; of the program as possible.  That might mean HTTP::Body -- or in the Engine code for query params.  But, I haven&amp;#39;t looked at it.  Where do you think that &amp;quot;edge&amp;quot; would be?&lt;br&gt;

&lt;/div&gt;&lt;br&gt;&lt;/div&gt;&lt;br&gt;-- &lt;br&gt;Bill Moseley&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26222643&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;moseley@...&lt;/a&gt;&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;List: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26222643&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Catalyst@...&lt;/a&gt;
&lt;br&gt;Listinfo: &lt;a href=&quot;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&lt;/a&gt;&lt;br&gt;Searchable archive: &lt;a href=&quot;http://www.mail-archive.com/catalyst@lists.scsys.co.uk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/catalyst@.../&lt;/a&gt;&lt;br&gt;Dev site: &lt;a href=&quot;http://dev.catalyst.perl.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.catalyst.perl.org/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Question-about-C%3AP%3AUnicode%28%3A%3AEncoding%29-tp26042809p26222643.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26222531</id>
	<title>Re: Question about C:P:Unicode(::Encoding)</title>
	<published>2009-11-05T13:24:53Z</published>
	<updated>2009-11-05T13:24:53Z</updated>
	<author>
		<name>Tomas Doran</name>
	</author>
	<content type="html">&lt;br&gt;On 5 Nov 2009, at 05:04, Bill Moseley wrote:
&lt;br&gt;&amp;gt; Great! &amp;nbsp;And nice work on the upload file names.
&lt;br&gt;&lt;br&gt;For that, you can thank Masahiro Chiba, that part was his patch :)
&lt;br&gt;&lt;br&gt;&amp;gt; I've been using Data::Visitor::Callback to decode the parameters. &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; Not sure if it's any better, &amp;nbsp;but then the keys are decoded as well &amp;nbsp;
&lt;br&gt;&amp;gt; as values.
&lt;br&gt;&lt;br&gt;Hmm, I hadn't thought of the case where you'd want keys as uft8, but &amp;nbsp;
&lt;br&gt;that's perfectly valid.
&lt;br&gt;&lt;br&gt;I'd certainly take a patch to do that, but I'm afraid my enthusiasm &amp;nbsp;
&lt;br&gt;has vanished at the moment :)
&lt;br&gt;&lt;br&gt;&amp;gt; I've said this before, but I think this is something that Catalyst &amp;nbsp;
&lt;br&gt;&amp;gt; core should handle, not left to a plugin.
&lt;br&gt;&lt;br&gt;I'd probably agree with you, at least as a configurable parameter - &amp;nbsp;
&lt;br&gt;some of the things I'm doing now are really horribly breaking &amp;nbsp;
&lt;br&gt;abstraction to get things done..
&lt;br&gt;&lt;br&gt;Branch on 5.80 welcome, although we wouldn't want to change behavior &amp;nbsp;
&lt;br&gt;by default (at least any time soon, or only for new apps)..
&lt;br&gt;&lt;br&gt;Cheers
&lt;br&gt;t0m
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;List: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26222531&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Catalyst@...&lt;/a&gt;
&lt;br&gt;Listinfo: &lt;a href=&quot;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&lt;/a&gt;&lt;br&gt;Searchable archive: &lt;a href=&quot;http://www.mail-archive.com/catalyst@lists.scsys.co.uk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/catalyst@.../&lt;/a&gt;&lt;br&gt;Dev site: &lt;a href=&quot;http://dev.catalyst.perl.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.catalyst.perl.org/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Question-about-C%3AP%3AUnicode%28%3A%3AEncoding%29-tp26042809p26222531.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26209387</id>
	<title>Re: Question about C:P:Unicode(::Encoding)</title>
	<published>2009-11-04T21:04:25Z</published>
	<updated>2009-11-04T21:04:25Z</updated>
	<author>
		<name>Bill Moseley</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Nov 4, 2009 at 6:11 PM, Tomas Doran &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26209387&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bobtfish@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

&lt;div class=&quot;im&quot;&gt;&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
On Sat, Oct 24, 2009 at 1:26 PM, Bernhard Graf &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26209387&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;catalyst4@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
These plugins hook into prepare_parameters() to decode data.&lt;br&gt;
&lt;br&gt;
Why does it leave query_- and body_parameters untouched?&lt;br&gt;
&lt;br&gt;
Always seemed like a bug to me.&lt;br&gt;
&lt;/blockquote&gt;
&lt;br&gt;&lt;/div&gt;
I agree.&lt;br&gt;
&lt;br&gt;
I&amp;#39;ve also taken some of your other thoughts onboard. &lt;br&gt;&lt;/blockquote&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;br&gt;
I&amp;#39;ve just sent 0.5 to CPAN which corrects this issue.&lt;br&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;Great!  And nice work on the upload file names.&lt;br&gt;&lt;br&gt;I&amp;#39;ve been using Data::Visitor::Callback to decode the parameters.   Not sure if it&amp;#39;s any better,  but then the keys are decoded as well as values.&lt;br&gt;

&lt;br&gt;I&amp;#39;ve said this before, but I think this is something that Catalyst core should handle, not left to a plugin.&lt;br&gt;&lt;br&gt; &lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;br&gt;-- &lt;br&gt;Bill Moseley&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26209387&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;moseley@...&lt;/a&gt;&lt;br&gt;


&lt;br /&gt;_______________________________________________
&lt;br&gt;List: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26209387&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Catalyst@...&lt;/a&gt;
&lt;br&gt;Listinfo: &lt;a href=&quot;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&lt;/a&gt;&lt;br&gt;Searchable archive: &lt;a href=&quot;http://www.mail-archive.com/catalyst@lists.scsys.co.uk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/catalyst@.../&lt;/a&gt;&lt;br&gt;Dev site: &lt;a href=&quot;http://dev.catalyst.perl.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.catalyst.perl.org/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Question-about-C%3AP%3AUnicode%28%3A%3AEncoding%29-tp26042809p26209387.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26208504</id>
	<title>can't find Catalyst::Plugin::HTML::Widget class</title>
	<published>2009-11-04T19:00:51Z</published>
	<updated>2009-11-04T19:00:51Z</updated>
	<author>
		<name>LICON, RAY (ATTPB)</name>
	</author>
	<content type="html">Hello all,
&lt;br&gt;&lt;br&gt;Attempting to run Catalyst tutorial example &amp;quot;MyApp&amp;quot; on Solaris 10.
&lt;br&gt;&lt;br&gt;$ Script/myapp_server.pl 
&lt;br&gt;&lt;br&gt;Produces:
&lt;br&gt;!perl myapp_server.pl
&lt;br&gt;Could not load class (Catalyst::Plugin::HTML::Widget) because : Can't
&lt;br&gt;locate Catalyst/Plugin/HTML/Wi
&lt;br&gt;dget.pm in @INC (@INC contains:
&lt;br&gt;/export/home/catalyst/example/MyApp/script/../lib /usr/local/lib/per
&lt;br&gt;l5/5.8.8/sun4-solaris /usr/local/lib/perl5/5.8.8
&lt;br&gt;/usr/local/lib/perl5/CPAN/5.8.8/sun4-solaris /usr/l
&lt;br&gt;ocal/lib/perl5/CPAN/5.8.8 /usr/local/lib/perl5/CPAN .
&lt;br&gt;/usr/local/lib/perl5/CPAN/5.8.8/Catalyst/Engin
&lt;br&gt;e) at /usr/local/lib/perl5/CPAN/5.8.8/sun4-solaris/Class/MOP.pm line
&lt;br&gt;129.
&lt;br&gt;&lt;br&gt;The thing is, from cpan command, I ran: install Task::Catalyst
&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; install catalyst:Runtime
&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; install Catalyst:Devel
&lt;br&gt;&lt;br&gt;All succeeded and installed.
&lt;br&gt;&lt;br&gt;I also installed the task::catalyst::tutorial which installed the
&lt;br&gt;example code I'm testing.
&lt;br&gt;&lt;br&gt;Perldocs shows no Catalyst::Plugin::HTML::Widget and neither can I find
&lt;br&gt;it on the CPAN site.
&lt;br&gt;&lt;br&gt;Any help to get this framework example running?
&lt;br&gt;&lt;br&gt;-thanks
&lt;br&gt;&amp;nbsp;Ray
&lt;br&gt;&lt;br&gt;Ray Licon
&lt;br&gt;AT&amp;T Global Network Operations
&lt;br&gt;Advanced Technical Support,
&lt;br&gt;Global Service Applications and Technologies
&lt;br&gt;Office: 310-762-6968
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;List: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26208504&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Catalyst@...&lt;/a&gt;
&lt;br&gt;Listinfo: &lt;a href=&quot;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&lt;/a&gt;&lt;br&gt;Searchable archive: &lt;a href=&quot;http://www.mail-archive.com/catalyst@lists.scsys.co.uk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/catalyst@.../&lt;/a&gt;&lt;br&gt;Dev site: &lt;a href=&quot;http://dev.catalyst.perl.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.catalyst.perl.org/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/can%27t-find-Catalyst%3A%3APlugin%3A%3AHTML%3A%3AWidget-class-tp26208504p26208504.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26208935</id>
	<title>Re: can't find Catalyst::Plugin::HTML::Widget class</title>
	<published>2009-11-04T18:50:00Z</published>
	<updated>2009-11-04T18:50:00Z</updated>
	<author>
		<name>Gerda Shank-3</name>
	</author>
	<content type="html">Looks like Task::Tutorial::Catalyst is pretty outdated. Not sure where the
&lt;br&gt;HTML::Widgets is coming from, but that's a plugin that hasn't been used in
&lt;br&gt;years. 
&lt;br&gt;&lt;br&gt;Look at:
&lt;br&gt;&lt;a href=&quot;http://search.cpan.org/~hkclark/Catalyst-Manual-5.8001/lib/Catalyst/Manual/T&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://search.cpan.org/~hkclark/Catalyst-Manual-5.8001/lib/Catalyst/Manual/T&lt;/a&gt;&lt;br&gt;utorial.pod
&lt;br&gt;The &amp;quot;Intro&amp;quot; section has a link to the code.
&lt;br&gt;&lt;br&gt;Gerda
&lt;br&gt;&lt;br&gt;&lt;br&gt;On 11/4/09 11:00 PM, &amp;quot;LICON, RAY (ATTPB)&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26208935&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rl4518@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello all,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Attempting to run Catalyst tutorial example &amp;quot;MyApp&amp;quot; on Solaris 10.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; $ Script/myapp_server.pl
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Produces:
&lt;br&gt;&amp;gt; !perl myapp_server.pl
&lt;br&gt;&amp;gt; Could not load class (Catalyst::Plugin::HTML::Widget) because : Can't
&lt;br&gt;&amp;gt; locate Catalyst/Plugin/HTML/Wi
&lt;br&gt;&amp;gt; dget.pm in @INC (@INC contains:
&lt;br&gt;&amp;gt; /export/home/catalyst/example/MyApp/script/../lib /usr/local/lib/per
&lt;br&gt;&amp;gt; l5/5.8.8/sun4-solaris /usr/local/lib/perl5/5.8.8
&lt;br&gt;&amp;gt; /usr/local/lib/perl5/CPAN/5.8.8/sun4-solaris /usr/l
&lt;br&gt;&amp;gt; ocal/lib/perl5/CPAN/5.8.8 /usr/local/lib/perl5/CPAN .
&lt;br&gt;&amp;gt; /usr/local/lib/perl5/CPAN/5.8.8/Catalyst/Engin
&lt;br&gt;&amp;gt; e) at /usr/local/lib/perl5/CPAN/5.8.8/sun4-solaris/Class/MOP.pm line
&lt;br&gt;&amp;gt; 129.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The thing is, from cpan command, I ran: install Task::Catalyst
&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; install catalyst:Runtime
&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; install Catalyst:Devel
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; All succeeded and installed.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I also installed the task::catalyst::tutorial which installed the
&lt;br&gt;&amp;gt; example code I'm testing.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Perldocs shows no Catalyst::Plugin::HTML::Widget and neither can I find
&lt;br&gt;&amp;gt; it on the CPAN site.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Any help to get this framework example running?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -thanks
&lt;br&gt;&amp;gt; &amp;nbsp;Ray
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Ray Licon
&lt;br&gt;&amp;gt; AT&amp;T Global Network Operations
&lt;br&gt;&amp;gt; Advanced Technical Support,
&lt;br&gt;&amp;gt; Global Service Applications and Technologies
&lt;br&gt;&amp;gt; Office: 310-762-6968
&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; List: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26208935&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Catalyst@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Listinfo: &lt;a href=&quot;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&lt;/a&gt;&lt;br&gt;&amp;gt; Searchable archive: &lt;a href=&quot;http://www.mail-archive.com/catalyst@lists.scsys.co.uk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/catalyst@.../&lt;/a&gt;&lt;br&gt;&amp;gt; Dev site: &lt;a href=&quot;http://dev.catalyst.perl.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.catalyst.perl.org/&lt;/a&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;List: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26208935&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Catalyst@...&lt;/a&gt;
&lt;br&gt;Listinfo: &lt;a href=&quot;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&lt;/a&gt;&lt;br&gt;Searchable archive: &lt;a href=&quot;http://www.mail-archive.com/catalyst@lists.scsys.co.uk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/catalyst@.../&lt;/a&gt;&lt;br&gt;Dev site: &lt;a href=&quot;http://dev.catalyst.perl.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.catalyst.perl.org/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/can%27t-find-Catalyst%3A%3APlugin%3A%3AHTML%3A%3AWidget-class-tp26208504p26208935.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26208154</id>
	<title>Re: Question about C:P:Unicode(::Encoding)</title>
	<published>2009-11-04T18:11:03Z</published>
	<updated>2009-11-04T18:11:03Z</updated>
	<author>
		<name>Tomas Doran</name>
	</author>
	<content type="html">&lt;br&gt;&amp;gt; On Sat, Oct 24, 2009 at 1:26 PM, Bernhard Graf &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26208154&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;catalyst4@...&lt;/a&gt; 
&lt;br&gt;&amp;gt; &amp;gt; wrote:
&lt;br&gt;&amp;gt; These plugins hook into prepare_parameters() to decode data.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Why does it leave query_- and body_parameters untouched?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Always seemed like a bug to me.
&lt;br&gt;&lt;br&gt;I agree.
&lt;br&gt;&lt;br&gt;I've also taken some of your other thoughts onboard.
&lt;br&gt;&lt;br&gt;I've just sent 0.5 to CPAN which corrects this issue.
&lt;br&gt;&lt;br&gt;Cheers
&lt;br&gt;t0m
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;List: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26208154&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Catalyst@...&lt;/a&gt;
&lt;br&gt;Listinfo: &lt;a href=&quot;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst&lt;/a&gt;&lt;br&gt;Searchable archive: &lt;a href=&quot;http://www.mail-archive.com/catalyst@lists.scsys.co.uk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/catalyst@.../&lt;/a&gt;&lt;br&gt;Dev site: &lt;a href=&quot;http://dev.catalyst.perl.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.catalyst.perl.org/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Question-about-C%3AP%3AUnicode%28%3A%3AEncoding%29-tp26042809p26208154.html" />
</entry>

</feed>
