The default version of Perl on Katana is 5.26.3, which is provided by Rocky Linux 8.9 and can be found at /usr/bin/perl
.
Perl 5.36.0 is also installed as an environment module.
It is common for Perl scripts to begin with:
#!/usr/bin/perl
However, that will restrict you to the default version of Perl supplied with the Linux distribution. For greater flexibility, try using the following:
#!/usr/bin/env perl