"be consistent" | |
PerlMonks |
Re: here-document without interpolationby thelenm (Vicar) |
on Jan 15, 2004 at 23:38 UTC ( [id://321708]=note: print w/replies, xml ) | Need Help?? |
Yes, you found the correct way to do what you were trying to do. The documentation in perlop may not be particularly clear, but the "*" next to "yes" in the "Interpolates" column is explained as "unless the delimiter is ''". So you can use single quotes to prevent interpolation with qx, m//, qr, s///, and here-docs.
-- Mike --
In Section
Seekers of Perl Wisdom
|
|