in reply to Re^4: I need to know if 32-bit or 64-bit perl is running my script.
in thread I need to know if 32-bit or 64-bit perl is running my script.

Tux,

What an arrogant response!

I guess you've been passed over for management a few times and it shows. So let us take you're two statements, both false. First, those non-core capabilities had to be downloaded from CPAN. I used a Perl 5.14.2 on a test server, so I went to a production machine and:

> /usr/opt/perl5.12.2/bin/perl -v This is perl 5, version 12, subversion 2 (v5.12.2) built for aix Copyright 1987-2010, Larry Wall . . . > /usr/opt/perl5.12.2/bin/perl -MData::Peek -MConfig::Perl::V -we 'DDu +mper (Config::Perl::V::myconfig()->{config})' Can't locate Data/Peek.pm in @INC (@INC contains: /usr/opt/perl5.12.2/ +lib/site_perl/5.12.2/aix /usr/opt/perl5.12.2/lib/site_perl/5.12.2 /us +r/opt/perl5.12.2/lib/5.12.2/aix /usr/opt/perl5.12.2/lib/5.12.2 .). BEGIN failed--compilation aborted. >

And the second part that you obviously didn't understand, is that it's not a technical problem, but a management rule. The easiest way to get fired at my company is to load anything on a production server without going through a code review.

Thank you...Ed

"Well done is better than well said." - Benjamin Franklin

  • Comment on Re^5: I need to know if 32-bit or 64-bit perl is running my script.
  • Download Code

Replies are listed 'Best First'.
Re^6: I need to know if 32-bit or 64-bit perl is running my script.
by Anonymous Monk on Sep 19, 2013 at 00:43 UTC

    So let us take you're two statements, both false. First, those non-core capabilities had to be downloaded from CPAN.

    The first two things listed are

    $ perl -V:ptrsize ptrsize='8'; $ perl -MConfig -wE'say $Config{ptrsize}' 8
    which is available since 5.00307 since 5.003_07 1996-Oct-10

    What an arrogant response!

    Dudue :) after you hear it 20k times ... even if its a job requirement ... its like a taboo

Re^6: I need to know if 32-bit or 64-bit perl is running my script.
by Jenda (Abbot) on Sep 19, 2013 at 09:09 UTC

    Fine. Code review the module! If it's not part of the Perl installation, make it part of the project.

    Jenda
    Enoch was right!
    Enjoy the last years of Rome.