I have a Perl module CSS::Minifier that I need to make executable (command line utility) and use it in my Mac app, but I don’t know if it’s even possible.
Is there any way I can create a standalone binary from this module and use it from Terminal on a Mac?
You should look into the PAR::Packer module and its pp command line utility which will take a Perl script and turn it into a binary, fully loaded with any prerequisites needed.