[Catalyst] All actions marked as Private and are being ignored

2012-04-02 Thread abhishek jain
Hi, I am finding a strange situation. If i restart my catalyst application,i find in debug messages, all of my actions are marked as Private. Also if i execute the code, then it will execute the auto and end functions and bypasses the called action. Ie. If i call /search . It will run

Re: [Catalyst] All actions marked as Private and are being ignored

2012-04-02 Thread Kieren Diment
On 02/04/2012, at 4:18 PM, abhishek jain wrote: Hi, I am finding a strange situation. If i restart my catalyst application,i find in debug messages, all of my actions are marked as Private. Also if i execute the code, then it will execute the auto and end functions and bypasses the

Re: [Catalyst] All actions marked as Private and are being ignored

2012-04-02 Thread Tomas Doran
On 2 Apr 2012, at 07:24, Kieren Diment wrote: Also if i execute the code, then it will execute the auto and end functions and bypasses the called action. The return value of the auto action is significant! It's a specific feature of auto that if you return false, then normal dispatch will be

RE: [Catalyst] All actions marked as Private and are being ignored

2012-04-02 Thread abhishek jain
Hi Kieren, I just found if in auto action I add 1; Add end of code, the code works fine and the requested action is executed If i don't return a value , the code ignores the requested action and end action is called. Don't know why, any suggestions, So sub auto : Private { #... 1;

Re: [Catalyst] All actions marked as Private and are being ignored

2012-04-02 Thread Kieren Diment
As Tom says, that's expected behaviour. Auto is for bailing (e.g. if auth fails). On 02/04/2012, at 7:43 PM, abhishek jain wrote: Hi Kieren, I just found if in auto action I add 1; Add end of code, the code works fine and the requested action is executed If i don't return a value ,

Re: [Catalyst] All actions marked as Private and are being ignored

2012-04-02 Thread Mark Blackman
On 2 Apr 2012, at 10:43, abhishek jain wrote: Hi Kieren, I just found if in auto action I add 1; Add end of code, the code works fine and the requested action is executed If i don't return a value , the code ignores the requested action and end action is called. Don't know why, any

Re: [Catalyst] install_driver(mysql) failed:

2012-04-02 Thread Daniel J. Luke
On Apr 2, 2012, at 12:22 AM, Robyn Jonahs wrote: Ok so if I remove the link or leave it, the output from otool -L is /FOO/perl5/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/darwin-2level/auto/DBD/mysql/mysql.bundle: libmysqlclient.18.dylib (compatibility version 18.0.0, current