Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 surveying the Monastery: (14)
As of 2015-07-31 12:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (276 votes), past polls