http://qs321.pair.com?node_id=432104


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.