Forum Moderators: coopster & phranque

Message Too Old, No Replies

Perl modification breaking code

If you are using "require", you have to keep an eye on this

         

explorador

7:43 pm on May 3, 2025 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Hi webmasters,

there have been changes on Perl, and it's affecting your scripts if you use the "require" option to run scripts, like "require script.pl";

I found out the hard way, as my current hosting company moved my websites to a new updated server, and it's been a bit of a nightmare to find out what was going on. Turns out, "require script.pl" no longer works, you may use "require ./script.pl" instead, but you will have to check if everything works as expected, in my case... partially. I had to use the other fix (lib) at least temporarily.

This link explains a bit of the problem and solution: [perlmonks.org...]

As for now I have no idea if there is an official link to a full explanation, I know it's due to security. So far, this is the link I have so here it is to share it.

tangor

7:26 am on May 4, 2025 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



THANKS!

Having code BREAK when there's new updates has always been a problem.

Then again, those updates DO create the reason for LEGACY systems that simply need to keep working at the ONE task required FOREVER. :)

Been there, done that, expect to keep doing it whether I wish it or not!

Fortunately my current host has NOT done the upgrade on PERL so at present things are all good.

explorador

2:32 am on May 7, 2025 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



You are welcome. I hope others become aware of this before something breaks.