Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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?
[Lady_Aleena]: Corion, so do you think the gods would be open to taking over Cookies should I disappear for too long a time?
[Corion]: Lady_Aleena: Yes, I think so, but maybe someone else might also take care of the cookies ;)
[Lady_Aleena]: I'll put it out there.

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (10)
As of 2017-04-26 08:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (471 votes). Check out past polls.