in reply to Re: Perl versions conflict help
in thread Perl versions conflict help

Hi Zwon,

I totally get what you are saying. However, ELISHEVA writes in one of her threads with me, "Keeping every thing separate also saves you from a nightmare of version compatibility issues. You don't have to worry about your application breaking if other applications need older or newer versions of a module". To me, unsetting PERL5LIB is breaking someone else's application. I suppose there is no way around it.

Ash

Replies are listed 'Best First'.
Re^3: Perl versions conflict help
by zwon (Abbot) on Nov 14, 2009 at 10:20 UTC

    In this case you can set PERL5LIB on a per application basis.

      $ cat myfrobnicator6.pl #!/super/super/frobnicator/bin/perl -- use lib '/super/super/frobnicator6/lib'; MyFrobnicator6->run; exit;
      for windows, use pl2bat, modify to call C:/suuper/super/frobnicator/bin/perl.exe or use PAR/pp