Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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 about the Monastery: (13)
As of 2015-07-01 18:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (16 votes), past polls