Beefy Boxes and Bandwidth Generously Provided by pair Networks
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??


in reply to inserting a formatted text file into a perl script.

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 :)

  • Comment on Re: inserting a formatted text file into a perl script.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://565594]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-04-24 21:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found