From: "a b" <testa...@gmail.com>
Thanks much for your response!!

Making it more clear.

I want to make tar ball which contains my perl  scripts and no other
dependencies required. like Net::Rsh,Net::Telnet etc
once user untar it, he should be able to run it from anywhere without any
extra perl modules. I am thinking that might be Net::Rsh etc is not
available on target m/c

With above requirement, i want Net::Rsh like modules to be in my lib. Not
sure if i need to modify Rsh module to get rid of scoping Net::

I want to simply use this module as "use Rsh;"

Can some body let me know if i can make these modules to my lib :0

help much appeciated!!!

Regards,
a b



This is not possible if those dependencies use C code, because they must be compiled differently depending on the platform they are running on. This is the same no matter the programming language you use. If a module needs a .so file, under Windows it should be compiled as a .dll file.

If they are pure Perl, then you can bundle them in that tarball as a part of that distribution.

If you want to bundle more compiled Perl modules that use C code and use them under a specific platform and you don't need them to be portable, then you might be interested to create/install them as .deb or .rpm packages.

I don't know (and maybe others know more about this) if it is possible to compile Perl modules that use C code and then install them on the target platform by just copying them on a custom location.

Octavian




--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to