Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Is a here-doc a good way to retrieve data file contents for testing? (updated)

by Lotus1 (Vicar)
on Jan 18, 2021 at 01:14 UTC ( #11127049=note: print w/replies, xml ) Need Help??


in reply to Re: Is a here-doc a good way to retrieve data file contents for testing? (updated)
in thread Is a here-doc a good way to retrieve data file contents for testing?

I like your suggestion to not use 'END' at the start of the here-doc. Showing the format is a great idea. This made me wonder what would happen if I used '__DATA__'. It actually worked!

  • Comment on Re^2: Is a here-doc a good way to retrieve data file contents for testing? (updated)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2021-10-20 13:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (81 votes). Check out past polls.

    Notices?