Yes, glob curlies are cool and useful for things other than matching filenames. You can do stuff like this:
$pat = join '-', ('{foo,bar,baz}') x 3; $\="\n"; print for glob $pat;
In reply to Re^2: How glob expands
by calin
in thread How glob expands
by throop
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |