Perl Monk, Perl Meditation | |
PerlMonks |
Re: quotes in Perlby TheEnigma (Pilgrim) |
on Oct 20, 2004 at 23:10 UTC ( [id://401011]=note: print w/replies, xml ) | Need Help?? |
Well done!
You might want to add, however, that with q, qq, and qw, delimiters other than parentheses can be used. [] and {} will work, as will just about any punctuation mark, I believe. Then, to use your delimiter within the quoted string, the rule would be: escape whatever your delimiter is. TheEnigma
In Section
Tutorials
|
|