Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

trouble explaining shared objects in Perl

by jimw54321 (Novice)
on Jan 15, 2013 at 00:04 UTC ( #1013295=perlquestion: print w/ replies, xml ) Need Help??
jimw54321 has asked for the wisdom of the Perl Monks concerning the following question:

Hi. I need some advice. Have been explaining for several days to some coworkers that some Perl modules, like DBI and DBD::Oracle, have underlying shared objects. My understanding is that these files cannot be simply copied from Solaris 9 to Solaris 10. Am I missing something? There is the misconception that even though the script does not change "use DBI;" that there is no platform dependent code underneath. Even showing them the ".so" files is not working. Also, I have showed DBI as an example where there is Perl.c. Help! Maybe I am not explaining right. Maybe I am not remembering my C compilation. Maybe... I do not know. Thanks.

Comment on trouble explaining shared objects in Perl
Re: trouble explaining shared objects in Perl
by tobyink (Abbot) on Jan 15, 2013 at 00:09 UTC

    Maybe just copy the files across and demonstrate that they do not work.

    perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'
Re: trouble explaining shared objects in Perl
by Anonymous Monk on Jan 15, 2013 at 01:21 UTC
      Thanks for the suggestions. Will do.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1013295]
Approved by tobyink
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2014-11-27 20:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (188 votes), past polls