Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Invokes perl modules from perl script in different perl versions

by stevieb (Canon)
on Apr 07, 2020 at 17:54 UTC ( [id://11115181]=note: print w/replies, xml ) Need Help??


in reply to Invokes perl modules from perl script in different perl versions

I fail to understand why you don't just re-write everything properly on a current version of Perl (or at least the latest version you've got).

It'd probably be quicker and more resilient, upgrade-friendly and stable long-term as opposed to continuously trying to build and maintain a differing-version abstraction layer.

  • Comment on Re: Invokes perl modules from perl script in different perl versions

Replies are listed 'Best First'.
Re^2: Invokes perl modules from perl script in different perl versions
by maria80e (Novice) on Apr 07, 2020 at 18:22 UTC
    Having two versions of a perl is a work around and later we upgrade it into higher version, because its a big project need more efforts.

      You know, most scripts written for Perl 5.6 will run fine on Perl 5.24 without modification. And you've clearly got Perl 5.24 available. So I don't see why it is a "big project".

      Like a number of other monks, I don't understand why you don't use version 5.24 of Perl and the necessary TLS interface module and solve the problem without involving Perl 5.6 at all. It would be helpful if you could explain this point. Is it perhaps the case that Perl 5.6 is the system Perl on the server in question and you are unsure about how to install and run a later Perl version?

      If you avoid the work-around and just do the work, you may find that you have a lot less work to do. See XY Problem.


      Give a man a fish:  <%-{-{-{-<

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2024-04-19 06:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found