Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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

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 surveying the Monastery: (7)
As of 2016-06-29 08:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (372 votes). Check out past polls.