Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: Here document construct problem

by renz (Scribe)
on Feb 17, 2005 at 21:29 UTC ( [id://432104]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Here document construct problem
in thread Here document construct problem

What happens if:

END_OF_PRINT #&printOwner($data{owner1}); #&printOwner($data{owner2}); #&printOwner($data{owner3}); print <<END_OF_PRINT; </TH> </TR> END_OF_PRINT

is changed to:

#END_OF_PRINT #&printOwner($data{owner1}); #&printOwner($data{owner2}); #&printOwner($data{owner3}); #print <<END_OF_PRINT; </TH> </TR>
and picked up by the END_OF_PRINT that occurs after <html> ?

Update: Ok. Just checking for any weirdness in slight deviations from what you posted above. Ignore my comments below this reply, for they were added in error.

/renz.
"This is the Mark-man, safe and sure,
Who still is right, and prayes to be so still."
--George Herbert, Constancie.

Replies are listed 'Best First'.
Re^4: Here document construct problem
by hok_si_la (Curate) on Feb 17, 2005 at 21:35 UTC
    renz,

    Well if you did intend do comment out both the END_OF_PRINT, and the print <<END_OF_PRINT; on the second block, then the script will execute without warnings. Anytime those two here document contructs are commented out I have no issues. Otherwise, I will get the warnings.

    see ya in the CB,
    hok_si_la -->also listening to Cohen now.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2024-04-16 08:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found