in reply to Re^2: How to use file copy with wild card characters
in thread How to use file copy with wild card characters
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: How to use file copy with wild card characters
by holli (Abbot) on Jan 01, 2005 at 11:06 UTC | |
by Limbic~Region (Chancellor) on Jan 01, 2005 at 18:00 UTC | |
by Mr. Muskrat (Canon) on Jan 01, 2005 at 18:12 UTC |