in reply to rename doesn't work on OSX?

The actual error (as indicated by $!) is that the file you asked to rename doesn't exist. You're trying to rename kennel/cat, but you're telling Perl and the system to rename cat.