Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
RPM installs perl into /usr. Autobuilding perl via CPAN installs perl into /usr/local. Do a perl -v on /usr/bin/perl and /usr/local/bin/perl and you should see the differences.

Okay, no biggee, but not expected behavior either. So you have to specify /usr/bin/perl or /usr/local/bin/perl. Of course there's the issue of making sure that your have the correct modules in each perl installation.

Ugh... This looks like a place for Run perl as /usr/bin/perl -MCPAN -e 'autobundle' and create a bundle of your locally installed perl packages. The run /usr/local/bin/perl -MCPAN -e 'install Bundle::autobundle_name'. That should then install all the correct modules under the /usr/local install.

Keeping the two in sync is an exercise I'll leave up to you.

I would probably recommend doing an rpm -e, and strictly using the /usr/local version of perl. But I'm evil that way...


In reply to Re: Conflict Between RPM and CPAN Shell Installation Method? by Jerry A!
in thread Conflict Between RPM and CPAN Shell Installation Method? by dave_aiello

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

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or or How to display code and escape characters are good places to start.
Log In?

What's my password?
Create A New User
Domain Nodelet?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2022-09-26 10:18 GMT
Find Nodes?
    Voting Booth?
    I prefer my indexes to start at:

    Results (117 votes). Check out past polls.