Looks like you're trying to expand a variable in a text string. This is a faq (see How can I expand variables in text strings?).
Turn on warnings (you'll probably get a lot of "Use of unitialized value" messages, which is probably what your problem is) or, even better, migrate to a more robust templating system like Template Toolkit, Text::Template or HTML::Template.
In reply to Re: Trying to understand some body's old code.
by eg
in thread Trying to understand some body's old code.
by akm2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |