"I'm asking out of curiosity so I want even the bad answers"
Is this bad enough ?
perl -MPath::Tiny -n0e 'sub translate {map tr/a-z/A-Z/r, @_} path($ARG +V =~ s/in$/out/r)->spew(translate($_))' *.in
I had to fake a translate() to test it...
In reply to Re: One to one file output idiom
by tybalt89
in thread One to one file output idiom
by Eily
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |