Update Perl Script to latest version of Perl
Update Perl Script to latest version of Perl
(OP)
Hello
The host company for my website has done some updates and now uses Site Tools rather than CPanel, and the version of Perl is now v5.30.3
The support team have advised that my search scripts should be updated to the latest version of Perl.
Sorry if this is a stupid question, but what does that mean exactly? Is this a re-write into an updated language?
I remember from years ago that the first line was very important - this is in mine:
#!/usr/local/bin/perl
Can someone point me in the right direction? Perl is something I know nothing about.
Thank you in advance
The host company for my website has done some updates and now uses Site Tools rather than CPanel, and the version of Perl is now v5.30.3
The support team have advised that my search scripts should be updated to the latest version of Perl.
Sorry if this is a stupid question, but what does that mean exactly? Is this a re-write into an updated language?
I remember from years ago that the first line was very important - this is in mine:
#!/usr/local/bin/perl
Can someone point me in the right direction? Perl is something I know nothing about.
Thank you in advance
thank you for helping
____________
Pendle
RE: Update Perl Script to latest version of Perl
I am afraid this may be long and painful process. I have a bigger Perl script I use once an year and occasionally I have surprises like some language features were deprecated since last use. Then I need to learn what is about, how affects me and how to fix it.
Theoretically you could do 2 things :
- Take Perl 5 version history and since the Perl version for which your script was originally written, follow all Full release notes links and in the linked pages read the Incompatible changes sections. If any of those affects your script, fix it.
- See how your script crashes, Google the error messages, fix them.
Sorry, I know no simple method. Though you may still hope I misunderstood the situation and your provider was thinking to something else.Feherke.
feherke.github.io