N.B.: The construct you are inquiring about is not an "EOF block", but a Here document.
In reply to Re: OOP: Printing in EOF block by AnomalousMonk in thread OOP: Printing in EOF block by speckled