davidj has asked for the wisdom of the Perl Monks concerning the following question:

I installed and updated some modules today on my win2K machine using activeState's ppm utility. After I was done, ppm failed to run.
I got the following:
D:\>ppm "break_at" is not exported by the Text::Reform module Can't continue after import errors at C:/Perl/site/lib/Text/Reform.pm +line 43 BEGIN failed--compilation aborted at C:/Perl/site/lib/Text/Autoformat. +pm line 9. Compilation failed in require at C:\Perl\bin\ppm3-bin line 12. BEGIN failed--compilation aborted at C:\Perl\bin\ppm3-bin line 12.
text::Autoformat is one of the modules I updated (had no real need to do it, now that I think about it).

I looked at text::Reform.pm and discovered that it does not have a break_at procedure. I drilled down into text::Autoformat.pm and made the following modification:
premodification:
use Text::Reform qw( form tag break_at break_with break_wrap break_TeX + );
postmodification (basically i removed the reference to break_at)
#use Text::Reform qw( form tag break_at break_with break_wrap break_Te +X ); use Text::Reform qw( form tag break_with break_wrap break_TeX );
I found the whole thing a bit odd (and still do) because I have had the most current version of text::Reform all along. It appears that text::Autoformat got broken upon its current iteration.

Well, at least that's how it is on my machine using activeState 5.8.3.809.

Just wanted to throw this out there as a warning to activeState users
davidj

Replies are listed 'Best First'.
Re: FYI: activeState, ppm and text::Autoformat
by Enlil (Parson) on Jun 19, 2004 at 19:30 UTC
    What I usually do is go to CPAN and download the current version of Text::Reform which most certainly has a break_at function (currently 1.11), and replace the Text::Reform that ActiveState PPM appears to (re)install with some modules which does not have the break_at function. Granted I am not saying this is the correct way to go about it, but I have not had time to track down why it some times seems to install a broken (or perhaps older version of)Text::Reform

    -enlil

      Looks like my ppm is a bit messed up. I ran a query on text::Reform as soon as I encountered the problem and it reported back that I had version 1.11. After your post I Looked at the source I saw that I had version 1.10 instead. I have since pulled it off of CPAN, undid the modifications to text::Autoformat.pm, and all is good with the world.

      thanks for the tip,
      davidj