in reply to Re^2: Catalyst::Dispatcher - usage of expand_actions
in thread Catalyst::Dispatcher - usage of expand_actions

Okay, so now narrow down the code to figure out what exactly isn't working. What changed from when it was working? Start adding log statements to major parts of the breadcrumbs code, $c->log->debug("GOT $wherever_in_your_breadcrumbs_code"), and figure out at which point they aren't showing up.

If it's a compilation error, and not a runtime error, do the exact opposite and remove all of your code, and start slowly adding in bits that compile, until you get to a point where you see your error. At that point, you'll have narrowed down your culprit and either have an idea of what's going on or be able to come back here with an isolated piece of code that's failing

By the way, don't worry about bad code, the only way to learn is to swallow your pride and lay everything out and look at it without attachment.

Three thousand years of beautiful tradition, from Moses to Sandy Koufax, you're god damn right I'm living in the fucking past

Replies are listed 'Best First'.
Re^4: Catalyst::Dispatcher - usage of expand_actions
by mkchris (Novice) on Aug 26, 2015 at 20:55 UTC

    Got it - thank you for your patience, I was indeed being silly and I should have been using $c->action not $c->request->action

    I'm not against learning things by the way, in fact I enjoy it (especially Perl), but you lot know your stuff and I find that a little intimidating!

      Neato, you should update your original post (if you haven't already) to showcase the fix in context.

      Three thousand years of beautiful tradition, from Moses to Sandy Koufax, you're god damn right I'm living in the fucking past