As for your code, I can't decide whether it's clunky or not... the formatting make it hard to understand what's going on. Perltidy might come in handy for laying out your code in a more orthodox manner :) It looks like you might want a helper sub to factor out how you build your path components, but it hurts my brain to look at this for too long.
In reply to Re: URL path shortening
by grinder
in thread URL path shortening
by nop
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |