(C) 2003, Tim Maher 1-31 www.TeachMePerl.com How does it Work? perl -wlp -e 's|[0-9]+| $& * (8/5) |ge;' F -w: enable warnings -p: read input from F, and print lines -e: execute program in following argument s|RE|X|ge: replace match by X's output [0-9]+: matches one or more digits $&: contents of last match file: file(s) to be processed