in reply to Module for Perl's "here-is" text formatting

Not exactly sure what you mean by "simplify". What you have is pretty simple.

If you want to remove the text / formatting from your code, then you might want to look at one of the many templating modules. Template is probably a good start, or HTML::Template if it's HTML based.
  • Comment on Re: Module for Perl's "here-is" text formatting