Syntactic Confectionery Delight | |
PerlMonks |
Re: Re: Another 'ode to backslash' ;-)by hopes (Friar) |
on Oct 02, 2001 at 23:00 UTC ( [id://116235]=note: print w/replies, xml ) | Need Help?? |
There is an error in your code. See perldoc perlop or see perlop q/STRING/ 'STRING' A single-quoted, literal string. A backslash represents a backslash unless followed by the delimiter or another backslash, in which case the delimiter or backslash is interpolated. So '\' don't is what you expect. You have to write '\\' instead. Yeah, it's tricky. Note that is the same as but not You can use q;\\; if you want to obfuscate more. Regards Hopes
In Section
Obfuscated Code
|
|