Don't use string eval. Use block eval instead. Try::Tiny is pretty much just syntactic sugar wrapped around a block eval in any case.
String eval is open to vast abuse and, for the code you have shown, is simply not needed. If you do need to use string eval ugly is good.
In reply to Re: Try string, not block
by GrandFather
in thread Try string, not block
by pushtaev
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |