spaces in filenames on winXX

2005-02-20 Thread Harry Putnam
Scripting in perl on a Windows OS and spaces in file names. I'm pretty sure this has been covered many times here, and I believe there are modules and such devoted to the problem but searching on www.cpan.org with various search strings hasn't turned up something specifically for this problem,

Re: spaces in filenames on winXX

2005-02-20 Thread John W. Krahn
Harry Putnam wrote: Scripting in perl on a Windows OS and spaces in file names. I'm pretty sure this has been covered many times here, and I believe there are modules and such devoted to the problem but searching on www.cpan.org with various search strings hasn't turned up something specificall

Re: spaces in filenames on winXX

2005-02-20 Thread Jenda Krynicky
From: Harry Putnam <[EMAIL PROTECTED]> > Scripting in perl on a Windows OS and spaces in file names. > > I'm pretty sure this has been covered many times here, and I believe > there are modules and such devoted to the problem but searching on >www.cpan.org > with various search strings hasn't

Re: spaces in filenames on winXX

2005-02-20 Thread Harry Putnam
"Jenda Krynicky" <[EMAIL PROTECTED]> writes: > Try to write the script you need and come back if you run into > problems. This isn't in keeping with Johns point about using opendir/readdir but I'm not sure I followed that anyway. Here is an example of problems before even getting to spaces. Do

RE: spaces in filenames on winXX

2005-02-20 Thread Charles K. Clarkson
Harry Putnam <> wrote: : Here is an example of problems before even getting to spaces. : Doesn't this mean that some kind of preprocessing must take : place? : : #!C:\Perl\bin -w Shame! Always use strictures (except when mumble, mumble, mumble). use strict; : ## This is the format that

Re: spaces in filenames on winXX

2005-02-21 Thread Harry Putnam
"Charles K. Clarkson" <[EMAIL PROTECTED]> writes: [...] > You have three choices. [...] snipped techniques So back to my original question: Is there a module or something that takes care of that pre processing for me? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

RE: spaces in filenames on winXX

2005-02-21 Thread Charles K. Clarkson
Harry Putnam <> wrote: : So back to my original question: : Is there a module or something that takes care of that pre : processing for me? There is no pre-processing. I use this same idiom on either platform. What do you mean by pre-processing? my $file = 'foo/bar/baz/no pre-processing

Re: spaces in filenames on winXX

2005-02-21 Thread Jean-Sébastien Guay
Harry, You have three choices. [...] snipped techniques So back to my original question: Is there a module or something that takes care of that pre processing for me? I think you misunderstood. The problem with your script is not the spaces in the string. It's that you used a single b