Danger, Will Robinson! map in void context! I would write that like this instead:
copy($_, "$_.new") for glob "*.ext";
I think it's much easier to look at.
In reply to Re^3: How to use file copy with wild card characters
by Anonymous Monk
in thread How to use file copy with wild card characters
by han_perl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |