XP is just a number | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Heredocs allow you to use a single blank line as your end delimeter if you wish. This means that rather than writing
, you can write
(note the lack of anything but a blank line between "baz" and the following print statement). It was previously allowed to use
(note the plain and simple "print <<;" line). You can still use that simple version, but it's best not to as there is no guarantee that such functionality will be reserved in future perl versions (and that is why the warnings pragma will cough up that deprecated message if you use "print <<;"). In reply to Re: here-document without interpolation (<<DELIMITER;)
by Coruscate
|
|