in reply to Appending print to a variable
But .... why reinvent a wheel? There are a plethora of templating/embedding modules out there ... if you want to embed your Perl (bleh!), then i recommend HTML::Mason or Apache::ASP.use strict; use warnings; use IO::Scalar; my $out = IO::Scalar->new(); $out->print("hello world\n"); $out->print(qw(foo bar baz), "\n"); print $out;
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (jeffa) Re: Appending print to a variable
by eric256 (Parson) on Jul 30, 2003 at 16:55 UTC |