The only thing you need watch out for is that your above $location is actually an object and when you return that from a Dancer2 handler it confuses Dancer greatly.
But it solves my my need in an already bad-smelling hack, so never mind code-smell...
In reply to Re^2: does a script run via plackup knows where it is?
by morgon
in thread does a script run via plackup knows where it is?
by morgon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |