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

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.

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


Comment on Re^3: Here document construct problem
Select or Download Code
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.
      This node was taken out by the NodeReaper on Fri Feb 18 15:50:17 2005 (EST)
      Reason: [kutsu]: Delete: At request of author

      For more information on this node visit: this

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2014-09-21 10:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (168 votes), past polls