more useful options | |
PerlMonks |
Re: inserting a formatted text file into a perl script.by Magius_AR (Sexton) |
on Aug 03, 2006 at 23:28 UTC ( [id://565594]=note: print w/replies, xml ) | Need Help?? |
I wouldn't necessarily call that a bad approach. I'd use a heredoc myself. Though if you're wickedly opposed to the idea, you could always append it at the bottom on your code under a __DATA__ token and just dump out of the <DATA> filehandle. Ugly, but effective :)
In Section
Seekers of Perl Wisdom
|
|