will produce what you want.my @comma_extensions = map { /,(\w+)$/ ? $1 : () } @files;
In reply to Re^3: How to get only files ending with a ,<word>
by japhy
in thread How to get only files ending with a ,<word>
by perlNinny
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |