Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: OT: Outlook wants to terminate links at whitespace

by blazar (Canon)
on Oct 21, 2006 at 11:05 UTC ( #579750=note: print w/ replies, xml ) Need Help??


in reply to Re: OT: Outlook wants to terminate links at whitespace
in thread OT: Outlook wants to terminate links at whitespace

To start with, I'd use single quotes in you definition of $mydir so as to avoid escaping your slashes, make it easier to read, and provide a visual cue that no interpolation is going on here.

While I second that, ITYM backslashes, and sometimes they do need to be escaped in single quotes too; moreover prefixing a backslash with another one does escape it, yielding a single one:

$ perl -l print for '\'foo', '\\\'foo', '\foo', '\\foo' 'foo \'foo \foo \foo


Comment on Re^2: OT: Outlook wants to terminate links at whitespace
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://579750]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2014-10-26 05:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (151 votes), past polls