Skip Menu |

This queue is for tickets about the XML-SAX CPAN distribution.

Report information
The Basics
Id: 43738
Status: new
Priority: 0/
Queue: XML-SAX

People
Owner: Nobody in particular
Requestors: MTHURN [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.96
Fixed in: (no value)



Subject: need to set $/ when reading ParserDetails.ini
In SAX.pm, function _parse_ini_file, around line 77, there is the code while (defined(my $line = <$fh>)) But this FAILS MISERABLY if $/ has a value other than "\n". You must add the line local $/ = "\n"; to make sure your code works no matter what has happened to $/ in the caller's code! -- - - Martin 'Kingpin' Thurn