Do you know where your variables are? | |
PerlMonks |
Re: Trying to understand some body's old code.by eg (Friar) |
on Feb 27, 2001 at 20:38 UTC ( [id://61096]=note: print w/replies, xml ) | Need Help?? |
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 Section
Seekers of Perl Wisdom
|
|