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.
In reply to glob operator problems by 7stud
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |