Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

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

by blazar (Canon)
on Oct 21, 2006 at 11:05 UTC ( [id://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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-25 17:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found