1 | Very Convenient for text output is syntax |
2 | print FILEHANDLE <<EOF; |
3 | <html> |
4 | <title>$title</title> |
5 | </head> |
6 | <body bgcolor="$bgcolor" > |
7 | <h1>$title</h1> |
8 | EOF |
9 | Here EOF is an arbitary string to denote end of data |
10 | Note that variables are interpolated in this syntax which is equivalent to a "" form which is less clear! |
11 | print FILEHANDLE "<html>\n<title>$title</title>\n</head>\n"; # etc. |