in reply to globing directory names with spaces
Using the angle brackets operator seems to work without quoting :my $dir = shift; $dir = quotemeta( $dir ); @list = glod( "$dir/*.java" );
my $dir = shift; @list = <"$dir/*.java">;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: globing directory names with spaces
by abhishes (Friar) on Sep 16, 2002 at 14:21 UTC | |
by Aristotle (Chancellor) on Sep 16, 2002 at 14:27 UTC | |
by broquaint (Abbot) on Sep 16, 2002 at 15:40 UTC | |
by abhishes (Friar) on Sep 16, 2002 at 15:24 UTC | |
by Aristotle (Chancellor) on Sep 16, 2002 at 16:49 UTC | |
by flounder99 (Friar) on Sep 16, 2002 at 14:28 UTC |