in reply to Re^5: Upgrading Perl 5.8 program to 5.22
in thread [SOLVED]:Upgrading Perl 5.8 program to 5.22

It's running Perl v5.22.1 with some very minor changes. Seems the problem was the fact the module I used to keep my variables in scope was named exporter and was causing a conflict with Exporter. So a rename and a few edits later and it all works good.

The lesson was... Don't use Exporter in a file you have named "exporter" to keep your variables in scope. But you can use Exporter in a file called "foo" and it will work fine.

  • Comment on Re^6: Upgrading Perl 5.8 program to 5.22

Replies are listed 'Best First'.
Re^7: Upgrading Perl 5.8 program to 5.22
by davido (Cardinal) on May 24, 2016 at 03:15 UTC

    Well I'm glad you arrived at a solution. I know it's been one of the goals of P5P to ensure that to the fullest extent practical (and sometimes even if it's impractical to do so), to maintain backward compatibility.


    Dave