in reply to Working with Variables

It sounds like you can do one of two things:

Use a subroutine that you can pass values to and that prints everything out. You don't have to worry about storing all that text into a single variable, and you have a lot more flexibility with this method. If you go this route, you should pass any arguements you have as a signle hash so that you don't have to worry about messing up the order of the arguements.

Alternative, you could use a template module, like Template Toolkit 2 or HTML::Template, which have some basic logic structures that you can actually embed within the text to do what appear to need it to do.


Dr. Michael K. Neylon - mneylon-pm@masemware.com || "You've left the lens cap of your mind on again, Pinky" - The Brain