http://qs321.pair.com?node_id=1210195


in reply to Dancer2 get the raw uri

I'd like to tell you to use request->route because it's documented in Dancer2::Core::Request; however, that method doesn't actually exist.

Replies are listed 'Best First'.
Re^2: Dancer2 get the raw uri
by Anonymous Monk on Mar 01, 2018 at 23:55 UTC

    however, that method doesn't actually exist.

    Hi,

    It exists if you upgrade your Dancer2

    sub route { $_[0]->{'route'} }
      This was it!! Thanks a lot!!

      Thanks. I guess it's time for me to upgrade too. :)