-β- is a postfix decrement.
Both postfix and prefix operators magically know how to deal with numbers in filenames.
my $filename = 'file01.txt'; for 1..10 { Β Β Β say $filename++; }
This example prints the list of the filenames with incrementing numbers: file01.txt, file02.txt, … file10.txt.