Conf.pm at line 76

Andrew Cameron andrew at ibi.co.za
Tue May 11 22:29:26 PDT 1999


Hi,

I solved this problem by Installing Perl 5.005_3 without threads

It coould be that either Perl 5.005_2 has a bug in it or it may be that
the threads compile option was causing the problem.

Regards
Andrew

On Tue, 11 May 1999, Joel Griffiths wrote:

> On Tue, 11 May 1999, you sed:
> > I've patched Conf.pm in CVS, and attached the patch.  It won't solve your
> > >   my $fh = new IO::File "<$dir/$file" or return;
> > >   if ( wantarray ) {
> > >     map {
> > >       /^(.*)$/ or die "Illegal line in $fh $dir/$file:\n$_\n";
> >                                          ^^^
> > Incidentally, your transcription of this line is wrong.  There is no `$fh',
> 
> Sorry about that. I added that so I could get a better idea of what was
> happening.
> 
> >As you've figured out, multiple lines being read as a single line is the
> >cause of your various problems.
> >
> >You aren't by any chance writing the configuration files on a Mac or
> >Windows machine or something else with strange notions about line
> >delimters?
> >
> >Is $/ set to "\n" ?
> Mac, Windows - Uhg. Nope, not me. ;-)
> 
> Unfortunately, I could not check the $/ parameter. That may have been the
> problem, though. I reinstalled everything from scratch so I can't check this.
> Perhaps 5.005_2 doesn't set this properly and 5.005_3 does.
> 
> BTW, I would like to apologize to the mailing list for my impatience. 
> 
> Sincerely, Joel Griffiths
> 

-----------------------------------------------------------------------------

Andrew Cameron
Internet:  andrew at ibi.co.za
Internet:  apcameron at intch.co.za

-----------------------------------------------------------------------------




More information about the freeside-users mailing list