More like 0.0.1, if it were written in Python/PyTorch.
But all this chatter made me dig it up. Turns out it's a shell (bash) script and not Perl. Here it is (edited down for ILS, since that's what the OP wanted).
#!/bin/bash
let OFFSET=0
while : ; do
YYMM=`date +%y%m -d-"$OFFSET"month`
let...