http://www.perlmonks.org?node_id=448960


in reply to modifying @INC other than use lib?

The advantage of using use lib is that it also adds the directory specific to the architecture.

Quick-and-very-dirty workarounds:

The first solution seems the one to go if you want to give these headless advices a try. I only hope merlyn's hammer won't be too heavy on me!

Update: fixed 8-PM typo, thanks to eric256 for signaling!

Flavio (perl -e "print(scalar(reverse('ti.xittelop@oivalf')))")

Don't fool yourself.

Replies are listed 'Best First'.
Re^2: modifying @INC other than use lib?
by eric256 (Parson) on Apr 18, 2005 at 18:06 UTC

    You wrote use base in your examples when I'm sure you meant use lib


    ___________
    Eric Hodges