in reply to
Re^2: Renaming all files in a directory
in thread
Renaming all files in a directory
In this example, perl is reading line by line, (
perl -nle ...
) and you want the counter to only be initialized (once) at the start of the script.
Comment on
Re^3: Renaming all files in a directory
In Section
Meditations