Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^5: Upgrading Perl 5.8 program to 5.22

by davido (Cardinal)
on May 23, 2016 at 19:13 UTC ( [id://1163899]=note: print w/replies, xml ) Need Help??


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

I hope that helped resolve the issue. It would be great if it turned out to be something simple that doesn't require digging into and refactoring the code significantly.


Dave

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

Replies are listed 'Best First'.
Re^6: Upgrading Perl 5.8 program to 5.22
by $h4X4_|=73}{ (Monk) on May 24, 2016 at 00:17 UTC

    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.

      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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1163899]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2024-04-20 04:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found