K
KKramsch
The following script works fine:
print <DATA>;
__DATA__
Content-Type: image/png
PNG
IHDR Çïdm gAMA ¯È7 é tEXtSoftware Adobe ImageReadyqÉe< 6PLTEeeeêêêyyyooo ppp ÌÌÌõõõËËËááá···ÖÖÖ ÿÿÿ[[[ÿÿÿ cA tRNSÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ â¿¿ IDATxÚb D Ä ÈÁÆ ì Ä È+ *ÂÌÈÏ L BÓ //' 7T jXøáº * L  /??# X "`/@D Ó= Ä ÈÅ ä-^AA bÀ
ë æûuìî IEND®B`
but this one fails
print <<'EOPNG';
Content-Type: image/png
PNG
IHDR Çïdm gAMA ¯È7 é tEXtSoftware Adobe ImageReadyqÉe< 6PLTEeeeêêêyyyooo ppp ÌÌÌõõõËËËááá···ÖÖÖ ÿÿÿ[[[ÿÿÿ cA tRNSÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ â¿¿ IDATxÚb D Ä ÈÁÆ ì Ä È+ *ÂÌÈÏ L BÓ //' 7T jXøáº * L  /??# X "`/@D Ó= Ä ÈÅ ä-^AA bÀ
ë æûuìî IEND®B`
EOPNG
with the error message "Can't find string terminator EOPNG anywhere
before EOF". Is there anyway to get the here-document version of
this script to work?
Thanks!
Karl
print <DATA>;
__DATA__
Content-Type: image/png
PNG
IHDR Çïdm gAMA ¯È7 é tEXtSoftware Adobe ImageReadyqÉe< 6PLTEeeeêêêyyyooo ppp ÌÌÌõõõËËËááá···ÖÖÖ ÿÿÿ[[[ÿÿÿ cA tRNSÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ â¿¿ IDATxÚb D Ä ÈÁÆ ì Ä È+ *ÂÌÈÏ L BÓ //' 7T jXøáº * L  /??# X "`/@D Ó= Ä ÈÅ ä-^AA bÀ
ë æûuìî IEND®B`
but this one fails
print <<'EOPNG';
Content-Type: image/png
PNG
IHDR Çïdm gAMA ¯È7 é tEXtSoftware Adobe ImageReadyqÉe< 6PLTEeeeêêêyyyooo ppp ÌÌÌõõõËËËááá···ÖÖÖ ÿÿÿ[[[ÿÿÿ cA tRNSÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ â¿¿ IDATxÚb D Ä ÈÁÆ ì Ä È+ *ÂÌÈÏ L BÓ //' 7T jXøáº * L  /??# X "`/@D Ó= Ä ÈÅ ä-^AA bÀ
ë æûuìî IEND®B`
EOPNG
with the error message "Can't find string terminator EOPNG anywhere
before EOF". Is there anyway to get the here-document version of
this script to work?
Thanks!
Karl