i know this is a bad approach and im sure it doesn't work.
Why are you sure? That would work, although there are other options. I would use a here document. Read about it in perlop.
print <<"EOF"; insert some text here this text can contain tabs foo bar baz EOF
--
David Serrano
In reply to Re: inserting a formatted text file into a perl script.
by Hue-Bond
in thread inserting a formatted text file into a perl script.
by dark314
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |