in reply to warnings and strict -- The 2 Best Ways You Can Improve Your Programming

I think your example is really poor. If I just added a line
my $text = "Ratio Change: %7.4f => %7.4f\n", $ratio0, $ratio1;
to my code (or replacing another one), and then my output shows
Ratio Change: %7.4f => %7.4f
I don't need a warning to know what is wrong.