Interpreted language, in order to run the code you must have a *nix computer if it is Linux it will likely have perl installed.
On Windows later versions of Windows 10 have a unix subsystem which may come with perl.
# source in fn.pl
chmod +x fn.sh
./fn.pl
# or
perl fn.pl