From: <ex...@ih...> - 2002-06-11 01:33:58
|
On Mon, 10 Jun 2002 21:41:20 +0200 Roland Giersig <RGi...@CP...> wrote: > > >> If only life were so simple....I have the power to perform the > > >> upgrade but there are dependencies on this perl. I don't know what > > >> they are.... > > > > > > Oh, ho, ho. :) You need my super-special means of running many > > > perls at once trick. Compile with --prefix=/usr/local/perl561. > > > Make symlinks from everything in /usr/local/perl561/bin EXCEPT > > > /usr/local/perl561/bin/perl into/usr/local/bin. Then write your > > > programs explicitly with:#!/usr/local/bin/perl5.6.1 > > > or > > > #!/usr/[local/]?bin/perl5.00502 > > > > > > Then your programs don't break on upgrades and you can easily > > > remove a version as a unit if and when you upgrade all programs > > > that used it. > > > > I must be missing something obvious.... How will this co-exist > > with the the current /usr/local/bin/perldoc etc.?? > > Well, it won't. But as you won't be doing development under the old > perl, you won't need its user dpcumentation, i.e. the old perldoc. The > same goes for perlbug and perlcc (probably). So you can replace those > three with the new version. Alternatively you might consider changing > all the #! lines in the old scripts to point at perl5.00404 instead of > just perl. For now the new scripts will point to the new perl, thanks for the ideas. > > Hope this clears things up. > > Roland |