Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

dwhite21787 (1259)

dwhite21787
  (email not shown publicly)

Journal of dwhite21787 (1259)

Thursday April 18, 2002
11:48 AM

hacked DosGlob.pm for space in filename

[ #4300 ]
I noticed that when I used
@List = <$config{'root'}>
to get a list of filenames from a root directory, then acted on that list, filenames with spaces were handled badly.

So I hacked /lib/File/DosGlob.pm around line 155 to be:
@pat = Text::ParseWords::parse_line('\t+',0,$pat);
instead of s+ . And it seems to work well.