Welcome to the Monastery | |
PerlMonks |
Invokes perl modules from perl script in different perl versionsby maria80e (Novice) |
on Apr 07, 2020 at 17:33 UTC ( [id://11115177]=perlquestion: print w/replies, xml ) | Need Help?? |
maria80e has asked for the wisdom of the Perl Monks concerning the following question: We have two versions of Active perl 5.6 and 5.24. We have web services which is written as perl modules to be executed on Active perl '5.24' versions(to adopt TLS 1.2 version) and this needs to be invoked from Active perl '5.6' version. Is there any feasibility to do the following Main Program runs on 5.6 version perl modules to be executed in 5.24 version Perl modules are invoked by main program which runs on 5.6 version. For the below example, Example:-
Expected Result: the expected result is Main program which runs on 5.6 invokes the perl module which has to be run on 5.24 version and returns the result. During the execution we noticed that the perl modules runs on 5.6 instead of executing on 5.24. Note: 1. The input paramter for the web services are binded in the object created for the module 2. we tried system command too and its not worked as expected 3. Perl modules returns the response of the webservice to the main program 4. Having two versions of a perl is a work around and later we upgrade it into higher version 5. Working on windows platform
Back to
Seekers of Perl Wisdom
|
|