Re: Perl upgrade @INC help



On 11/28/07, Steve Bertrand <iaccounts@xxxxxxxxxx> quoted his monitor:

In order to ease the process of upgrading, this version of perl
can be configured to use modules built and installed with earlier
versions of perl that were installed under /usr/local. Specify here
the list of earlier versions that this version of perl should check.
If Configure detected no earlier versions of perl installed under
/usr/local, then the list will be empty. Answer 'none' to tell perl
to not search earlier versions.

The default should almost always be sensible, so if you're not sure,
just accept the default.
List of earlier versions to include in @INC? [none]

That's good advice about the default. Since the default list is
[none], then Configure must not have found any suitable versions of
perl under /usr/local. Chances are, you should take the default.

If there were items in the list, they would presumably be earlier
versions of perl whose @INC lists could become part of your new perl's
@INC. Even though the list is empty, if you have compatible modules in
those @INC directories, you should still be able to use them with your
new perl binary. (See the lib pragma.) Nevertheless, it is often
easiest to re-install (new versions of) any modules you need for the
new binary. For some modules, it may be the only way to go, in fact.

Hope this helps!

--Tom Phoenix
Stonehenge Perl Training
.



Relevant Pages

  • Reg. Directory listing program
    ... I am new to this mailing list and I am very new to PERL. ... I wrote a code that lists files in a directory with the permissions. ... Directory listing program ...
    (perl.beginners)
  • Re: Question on a perlsub statement.
    ... to send an eof so perl know it finished reading ALL the lines. ... assignment has all to do with it. ... perl6 will be able to do this due to lazy lists and ...
    (comp.lang.perl.misc)
  • Emulating Generators: Iterators for Lists (Newbie)
    ... achieving various things in Perl. ... What would be a good way to do an iterator for a sequence of values to be ... sub-routine, and declare the state you need to maintain between sub calls ... lists which might be the answer. ...
    (comp.lang.perl.misc)
  • RE: File Handling
    ... > extension for all the files in directory. ... > Plz help me in getting the things right in the following script. ... files - is actually a very common one for perl scripts. ... perl lets you specify wildcards on the command line: ...
    (perl.beginners)
  • FAQ 4.46 How do I handle linked lists?
    ... comes with the standard Perl distribution. ... How do I handle linked lists? ... Both pop and shift are both Ooperations on ... The perlfaq-workers, a group of volunteers, maintain the perlfaq. ...
    (comp.lang.perl.misc)