Skip Menu |

This queue is for tickets about the Text-CSV_XS CPAN distribution.

Report information
The Basics
Id: 41126
Status: resolved
Priority: 0/
Queue: Text-CSV_XS

People
Owner: Nobody in particular
Requestors: lubo.rintel [...] gooddata.com
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: (no value)
Fixed in: 0.36



Subject: Text::CSV_XS depends on IO::Handle
You do a call_method("getline") on a filehandle somewhere in the XS code. The IO::Handle::getline() method might not be available though, unless user imported IO::Handle module. Please either read directly from the handle without using an IO::Handle wrapper (no idea how would that be done, maybe using Perl_do_readline()?), or use IO::Handle from CSV_XS.pm. Thanks!
Subject: Re: [rt.cpan.org #41126] Text::CSV_XS depends on IO::Handle
Date: Fri, 21 Nov 2008 19:15:25 +0100
To: bug-Text-CSV_XS [...] rt.cpan.org
From: "H.Merijn Brand" <h.m.brand [...] xs4all.nl>
On Fri, 21 Nov 2008 12:11:37 -0500, "Lubomir Rintel via RT" <bug-Text-CSV_XS@rt.cpan.org> wrote: Show quoted text
> Fri Nov 21 12:11:35 2008: Request 41126 was acted upon. > Transaction: Ticke> You do a call_method("getline") on a filehandle somewhere in the XS > code. The IO::Handle::getline () method might not be available though, > unless user imported IO::Handle module.
2008-03-06 0.36 - H.Merijn Brand <h.m.brand@xs4all.nl> * Updated ppport.h * auto-load IO::Handle when needed * Tested with all available perl builds, including a fresh threaded 5.11 (blead) Show quoted text
> Please either read directly from the handle without using an IO::Handle > wrapper (no idea how would that be done, maybe using > Perl_do_readline ()?), or use IO::Handle from CSV_XS.pm.
As you read above, IO::Handle is *AUTOMATICALLY* loaded when needed as of release 0.36. -- H.Merijn Brand Amsterdam Perl Mongers http://amsterdam.pm.org/ using & porting perl 5.6.2, 5.8.x, 5.10.x, 5.11.x on HP-UX 10.20, 11.00, 11.11, 11.23, and 11.31, SuSE 10.1, 10.2, and 10.3, AIX 5.2, and Cygwin. http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/ http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/