Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^6: Upgrading Perl 5.8 program to 5.22

by $h4X4_|=73}{ (Monk)
on May 24, 2016 at 00:17 UTC ( [id://1163914]=note: print w/replies, xml ) Need Help??


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.

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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2024-03-29 13:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found