The Mojo framework has long had various utility functions for file manipulation, but recently in version 7.15 they were collected in a new class, Mojo::File. This class gives a very convenient and easy API for cross-platform file manipulation. It's also used across the entire Mojo framework, from Mojo::Home (now a Mojo::File subclass) to Mojo::Asset::File and +Mojo::UserAgent::Transactor.
In addition to the object constructor, Mojo::File exports some neat