Perhaps open a pipe to zsh and let it do the globular lifting?
## Off the cuff . . . sub zglob { my $glob = shift; open( my $z, qq{zsh -c 'print -N "$glob"' |} ) or die "can't open gl +obpipe: #!\n"; local( $/ ) = "\0"; my @ret; while( <$z> ) { chomp; push @ret, $_; } close( $z ); return @ret; }
In reply to Re: A better, more powerful fileglob?
by Fletch
in thread A better, more powerful fileglob?
by jdporter
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |