There's more than one way to do things | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Single backslash works for me. Sure you weren't trying with a double-quoted string? ('\w', '\\w', "\\w" should all be the same string, \w — whereas "\w" is just w.) Oh, and the same goes for \s. It should Just Work in a single-quoted string, but in a double-quoted string, you'll need to double the backslash.
print "Just another Perl ${\(trickster and hacker)},"
In reply to Re^3: HTML::Entities - encode all non-alphanumeric and foreign chars?
by Sidhekin
|
|