I thought perl always accepts the forward slash, regardless of operating
system. "c:/temp" works in windows/dos.

 

-Wayne

 

--
Software Engineer
InterSystems USA, Inc.
303-858-1000
  

  _____  

From: [email protected]
[mailto:[email protected]] On Behalf Of
[email protected]
Sent: Wednesday, February 24, 2010 9:08 AM
To: [email protected]
Subject: "Leaning Toothpicks" across OSs

 


O Wise Ones, 

(Slap me twice for this one--got my operating systems mixed up!) 

This is one of those silly moments when I can't remember a simple trick, and
I'm too cotton-pickin' lazy to dig through all my Perl books to find it. I'm
maintaining some old DOS code that has pathed Linux filenames suffering from
LTS. you know...   \/usr\/local\/fardle\/whang\/dang\/doodle\/etc..... 

I know there's a way to eliminate all that \/ stuff, but I can't think of it
to save my life.  I'll gladly accept a Gibbs head-slap (for all you fellow
NCIS fans out there), if it's accompanied by the solution. 

Thanks! 

Deane Rothenmaier
Programmer/Analyst
Walgreens Corp.
224-542-5150

Whoever fights monsters should see to it that in the process he does not
become a monster. And when you look into the abyss, the abyss looks into
you. -- Friedrich Wilhelm Nietzsche

_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to