baxy77bax has asked for the wisdom of the Perl Monks concerning the following question:
What would be the proper way to decompress a module first and then use it in the script? Example:
How to achieve the above from one script. Because if i do not have a module XX.pm available, the script complains ..BEGIN{system("tar -xzvf XX.tar.gz")} use strict; use lib "./XX.pm" use XX; ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to first decompress a module and then load it locally
by Corion (Patriarch) on Aug 28, 2020 at 13:48 UTC | |
|
Re: How to first decompress a module and then load it locally
by marto (Cardinal) on Aug 28, 2020 at 13:50 UTC | |
|
Re: How to first decompress a module and then load it locally
by LanX (Saint) on Aug 28, 2020 at 14:27 UTC | |
|
Re: How to first decompress a module and then load it locally
by perlfan (Parson) on Aug 28, 2020 at 14:17 UTC | |
|
Re/Follow up: How to first decompress a module and then load it locally
by baxy77bax (Deacon) on Aug 29, 2020 at 11:24 UTC | |
by marto (Cardinal) on Aug 29, 2020 at 12:05 UTC |