in reply to Trying to understand some body's old code.
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.
|
|---|