Re: slash question

2003-06-27 Thread Jon Hogue
At 01:11 AM 6/27/2003 -0500, Nicholas Davey wrote: You could escape them. That usualy works for me. Example: $dir= "\/\/ITC\/home\/techs"; Yes I know how sloppy that looks, but if it works and doesnt matter, why worry bout it? you should quote things like they will be printed. it increases reada

Re: slash question

2003-06-26 Thread Nicholas Davey
You could escape them. That usualy works for me. Example: $dir= "\/\/ITC\/home\/techs"; Yes I know how sloppy that looks, but if it works and doesnt matter, why worry bout it? -- www.vadtec.net [EMAIL PROTECTED] "Susan Aurand" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > > I

Re: slash question

2003-06-25 Thread Andrew Brosnan
On 6/25/03 at 10:32 AM, [EMAIL PROTECTED] (Susan Aurand) wrote: > > > If I want the following field to contain forwarded slashes - this is for a > linux box, as follows. > > $dir="//ITC/home/techs"; > > How do I get the forward slashes in there? > I have tried: > $dir ="'//ITC'"; > $dir ='"/

Re: slash question

2003-06-25 Thread Kristofer Hoch
Susan, Since everything you wrote only contains forward slashes ('/'), I am a bit confused as to what you are trying to do. Are you trying to convert the forward slashes to back slashes ('\')? $dir =~ s!//!\\!g; Please clarify what you are trying to do:( Kristofer --- Susan Aurand <[E

Re: slash question

2003-06-25 Thread Sven Bentlage
$dir="ITC\\home\\techs"; ...should work On Wednesday, June 25, 2003, at 04:55 PM, Susan Aurand wrote: My mistake. I actually want backslashes. $dir="\\ITC\home\techs"; How do I do that. Thanks - Susan Sven Bentlage wrote: did you try $dir="\/\/ITC/home/techs"; ? On Wednesday, Ju

slash question

2003-06-25 Thread Susan Aurand
If I want the following field to contain forwarded slashes - this is for a linux box, as follows. $dir="//ITC/home/techs"; How do I get the forward slashes in there? I have tried: $dir ="'//ITC'"; $dir ='"//ITC"'; $dir =`"//ITC"`; Nothing works. Help. Thank you - Susan -- To unsubscribe,