Thank you for your 'general ideas', that's all I'm looking for. The module is very large, so I've already got a minimal example. It is:

#!/apollo/bin/env perl + # This is one of the most unbelievably hackish things I've ever done, # but it seems to be the only way to get this script to run in perl-5. +8 # while still allowing other scripts on this server to run in perl-5.6 # -davkent BEGIN { print "Removing perl.5.6.0 libraries\n"; my $cntr = 0; foreach $path(@INC) { if($path =~ /(.*)(perl.5.6.0)(.*)/) { print "Removing $path\n"; $INC[$cntr] = '.'; } $cntr++; } unshift @INC, "/home/kmullin/Jcode-2.06"; print "Done removing perl libraries\n"; print "Path is now:\n"; foreach $path(@INC) { print $path . "\n"; } } use Amazon::DistributionCenter::Setup; print "hello world.\n";

The shebang is something we need to do around here to set up the environment, the BEGIN block is to eliminate perl 5.6 libraires, so that we can use 5.8. If you remove the entire begin block, it still gets 'Out of Memory'. It never makes it to print 'Hello, world'. By the way, I just added the unshift command in here as a way to get JCode version 2.06 into the picture. I thought that the problem may be caused by our JCode being 2.03, needing 2.06. I downloaded 2.06, put it into /home/kmullin/Jcode-2.06 thinking that perl would find it there, but its not working, it still hangs, making me think the problem is somewhere else.


In reply to Re^2: PM module processing problem by kmullin
in thread PM module processing problem by kmullin

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.