7stud has asked for the wisdom of the Perl Monks concerning the following question:
use strict; use warnings; use 5.010; my @files = glob "/Volumes/nameA nameB/*"; for (@files) { say; }
The volume name is "nameA nameB", i.e two words with a space in the middle. The output on mac os x is:
/Volumes/nameAWhat am I doing wrong? It feels like I am in Windows hell.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: glob operator problems
by 7stud (Deacon) on Jan 15, 2010 at 05:33 UTC | |
by ikegami (Patriarch) on Jan 15, 2010 at 06:06 UTC | |
by matze77 (Friar) on Jan 15, 2010 at 06:35 UTC | |
by ikegami (Patriarch) on Jan 15, 2010 at 06:47 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |