Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

RE: RE: Re: Reading from a file and writing the content into a database

by btrott (Parson)
on Mar 31, 2000 at 23:03 UTC ( #6607=note: print w/ replies, xml ) Need Help??


in reply to RE: Re: Reading from a file and writing the content into a database
in thread Reading from a file and writing the content into a database

It looks like it's in perlfaq4, under Why don't my <<HERE documents work?. There's an example like this:

# all in one ($VAR = <<HERE_TARGET) =~ s/^\s+//gm; your text goes here HERE_TARGET
Pretty neat little trick. :)


Comment on RE: RE: Re: Reading from a file and writing the content into a database
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2014-12-22 03:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (110 votes), past polls