[Catalyst] Checking if I can visit a URL

2010-12-24 Thread Ton Voon
Hi! I'm using Catalyst::ActionRole::ACL successfully - thanks for a great addition to Catalyst. In my templates, I'd like to check if I can get to a specific action because I only want to show links where you can go to. At the moment, I am using the equivalent role information (eg, $c-

Re: [Catalyst] Checking if I can visit a URL

2010-12-24 Thread Jose Luis Martinez
El 24/12/2010 15:08, Ton Voon escribió: Hi! Looking in Catalyst::ActionRole::ACL there is a can_visit method, but I don't understand how I can invoke that from my own code. It looks like it attaches to action objects. It would seem that $c-dispatcher-get_action_by_path($path) would get you

[Catalyst] Catalyst on Midphase's Shared Hosting

2010-12-24 Thread DU-Squash Info
Can one run a catalyst app on a shared server? If so, how can one do so without modifying the apache host files? I have spent considerable time putting together an app, trusting that like my other perl apps, I could run it from one of my midphase accounts. I can install any perl modules,

Re: [Catalyst] Catalyst on Midphase's Shared Hosting

2010-12-24 Thread Mike Raynham
On 25/12/10 06:06, DU-Squash Info wrote: Can one run a catalyst app on a shared server? If so, how can one do so without modifying the apache host files? I have spent considerable time putting together an app, trusting that like my other perl apps, I could run it from one of my midphase