Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

trouble explaining shared objects in Perl

by jimw54321 (Acolyte)
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

Replies are listed 'Best First'.
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?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1013295]
Approved by tobyink
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (11)
As of 2017-03-29 19:25 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (352 votes). Check out past polls.