[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] '' vs q()



Here's an interesting example showing that '' and q() are not always equivalent.

Those knowledgable please feel free to expound. I wonder if this hehavior should be improved in next versiof of Perl?

 Xah, xah@best.com
 http://www.best.com/~xah/PageTwo_dir/more.html
 Mountain View, CA, USA

-------------

#!/usr/local/bin/perl -w
use strict;

my $text = << q{eeend};
technique for verbertim
quoting of texts that may
contain all types of special
characters such as ({[<"'\//\'">]})
eeend

print $text;

__END__



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch