Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Why does $sql = EOSQL; require EOSQL to be in column 0?

by yakko (Friar)
on Feb 23, 2001 at 00:39 UTC ( #60314=note: print w/ replies, xml ) Need Help??


in reply to Why does $sql = <<EOSQL; require EOSQL to be in column 0?

That's the nature of a "here" doc: the end of the doc has to be on the first column. But, according to this FAQ, you can have embedded spaces if you really want them.

--
Me spell chucker work grate. Need grandma chicken.

  • Comment on Re: Why does $sql = EOSQL; require EOSQL to be in column 0?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2016-06-30 15:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (396 votes). Check out past polls.