The glob could be constructed with a
$str = join ",", @list
part between the curlies
glob "$start{$str}$end"
and fail for @list < 2
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
In reply to Re^6: Challenge: Generate a glob patterns from a word list
by LanX
in thread Challenge: Generate a glob patterns from a word list
by choroba
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |