Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re^3: Here document construct problem

by renz (Scribe)
on Feb 17, 2005 at 21:29 UTC ( #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.

"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

    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?

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2021-10-23 00:34 GMT
Find Nodes?
    Voting Booth?
    My first memorable Perl project was:

    Results (86 votes). Check out past polls.