Hi All.
print qq{h\\ello\ \"world\'}, "\n";
print "h\\ello\ \"world\'", "\n";
print 'h\\ello\ \"world\'', "\n";
print q'h\\ello\ \"world\'', "\n";
print q{h\\ello\ \"world\'}, "\n";
print q{h\\ello\ \{world\}}, "\n";
print 'h\\ello\ \{world\}', "\n";
print qq'h\\ello\ \{world\}', "\n";
It appear that double quote and qq respect any slash, no matter what is
after it.
single-quote and q respect only slashes that are before the quoting marks
and another slash.
Amusing.
I've written a module that takes a special constructed Perl modules, which
are basically one big hash of strings, parse it and return the hash of
strings as if Perl have loaded it. Si I need to understand those rules...
Shmuel.
_______________________________________________
Perl mailing list
[email protected]
http://mail.perl.org.il/mailman/listinfo/perl