Skip Menu |

This queue is for tickets about the RPSL-Parser CPAN distribution.

Report information
The Basics
Id: 63659
Status: resolved
Priority: 0/
Queue: RPSL-Parser

People
Owner: Nobody in particular
Requestors: girard.cedric [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.039001
Fixed in: (no value)



Subject: New interface does not works
Unless I'm doing something wrong, the new interface for RPSL::Parser does not seems to work. ie this works: my $parser = new RPSL::Parser; $parser->parse($bloc_content); this does not : RPSL::Parser->parse($bloc_content); Here is the error: Can't use string ("RPSL::Parser") as a HASH ref while "strict refs" in use at /usr/share/perl5/vendor_perl/RPSL/Parser.pm line 49. I'm using Perl v5.12.1
Subject: Re: [rt.cpan.org #63659] New interface does not works
Date: Mon, 6 Dec 2010 16:58:36 +0100
To: bug-RPSL-Parser [...] rt.cpan.org
From: Luis Motta Campos <lmc [...] bitbistro.com>
On 6 Dec 2010, at 13:56, Cedric Girard via RT wrote: Show quoted text
> Mon Dec 06 07:56:49 2010: Request 63659 was acted upon. > Transaction: Ticket created by cgirard > Queue: RPSL-Parser > Subject: New interface does not works > Broken in: 0.039001 > Severity: Normal > Owner: Nobody > Requestors: girard.cedric@gmail.com > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=63659 > > > > Unless I'm doing something wrong, the new interface for RPSL::Parser > does not seems to work. > ie this works: > my $parser = new RPSL::Parser; > $parser->parse($bloc_content); > this does not : > RPSL::Parser->parse($bloc_content); > > Here is the error: > Can't use string ("RPSL::Parser") as a HASH ref while "strict refs" in > use at /usr/share/perl5/vendor_perl/RPSL/Parser.pm line 49. > > I'm using Perl v5.12.1
Hello Cedric. My apologies. This is actually a mistake. I should have promoted the development version of the parser at http://search.cpan.org/CPAN/authors/id/L/LM/LMC/RPSL-Parser-0.039_001.tar.gz as being the official release some time ago. I will fix this as soon as possible. Meanwhile, please try using the version 0.039_001 -- it should be working properly. Thank you very much for your interest and feedback. Kind regards -- Luis Motta Campos is a software engineer, Perl Programmer, foodie and photographer.
From: girard.cedric [...] gmail.com
On Mon Dec 06 10:58:49 2010, lmc@bitbistro.com wrote: Show quoted text
> On 6 Dec 2010, at 13:56, Cedric Girard via RT wrote: >
> > Mon Dec 06 07:56:49 2010: Request 63659 was acted upon. > > Transaction: Ticket created by cgirard > > Queue: RPSL-Parser > > Subject: New interface does not works > > Broken in: 0.039001 > > Severity: Normal > > Owner: Nobody > > Requestors: girard.cedric@gmail.com > > Status: new > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=63659 > > > > > > > Unless I'm doing something wrong, the new interface for RPSL::Parser > > does not seems to work. > > ie this works: > > my $parser = new RPSL::Parser; > > $parser->parse($bloc_content); > > this does not : > > RPSL::Parser->parse($bloc_content); > > > > Here is the error: > > Can't use string ("RPSL::Parser") as a HASH ref while "strict refs"
> in
> > use at /usr/share/perl5/vendor_perl/RPSL/Parser.pm line 49. > > > > I'm using Perl v5.12.1
> > > Hello Cedric. > > My apologies. > This is actually a mistake. > I should have promoted the development version of the parser at > > http://search.cpan.org/CPAN/authors/id/L/LM/LMC/RPSL-Parser- > 0.039_001.tar.gz > > as being the official release some time ago. > I will fix this as soon as possible. > > Meanwhile, please try using the version 0.039_001 -- it should be > working properly. > > Thank you very much for your interest and feedback. > > Kind regards > -- > Luis Motta Campos is a software engineer, > Perl Programmer, foodie and photographer. >
The 0.039_001 version is nearly identical to the 0.039001 : diff RPSL-Parser-0.039_001/lib/RPSL/Parser.pm RPSL-Parser-0.039001/lib/RPSL/Parser.pm 11c11 < our $VERSION = "0.039_001"; --- Show quoted text
> our $VERSION = 0.039_001;
Bug reproduced with this version.
Subject: Re: [rt.cpan.org #63659] New interface does not works
Date: Mon, 6 Dec 2010 22:47:31 +0100
To: bug-RPSL-Parser [...] rt.cpan.org
From: Luis Motta Campos <lmc [...] bitbistro.com>
On 6 Dec 2010, at 17:14, Cedric Girard via RT wrote: Show quoted text
> The 0.039_001 version is nearly identical to the 0.039001 : > > diff RPSL-Parser-0.039_001/lib/RPSL/Parser.pm > RPSL-Parser-0.039001/lib/RPSL/Parser.pm > 11c11 > < our $VERSION = "0.039_001"; > ---
>> our $VERSION = 0.039_001;
> > Bug reproduced with this version.
Argh! I will work on this tomorrow and will publish a working release of the code by the end of the day. I'm sorry about your inconvenience. Kind regards -- Luis Motta Campos is a software engineer, Perl Programmer, foodie and photographer.
Subject: Re: [rt.cpan.org #63659] New interface does not works
Date: Tue, 7 Dec 2010 10:02:44 +0100
To: bug-RPSL-Parser [...] rt.cpan.org
From: Cédric Girard <girard.cedric [...] gmail.com>
On Mon, Dec 6, 2010 at 10:47 PM, Luis Motta Campos via RT < bug-RPSL-Parser@rt.cpan.org> wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=63659 > > > On 6 Dec 2010, at 17:14, Cedric Girard via RT wrote:
> > The 0.039_001 version is nearly identical to the 0.039001 : > > > > diff RPSL-Parser-0.039_001/lib/RPSL/Parser.pm > > RPSL-Parser-0.039001/lib/RPSL/Parser.pm > > 11c11 > > < our $VERSION = "0.039_001"; > > ---
> >> our $VERSION = 0.039_001;
> > > > Bug reproduced with this version.
> > > Argh! > > I will work on this tomorrow and will publish a working release of the code > by the end of the day. > > I'm sorry about your inconvenience. > > Kind regards > -- > Luis Motta Campos is a software engineer, > Perl Programmer, foodie and photographer. > > >
Thanks. -- Cédric Girard
On Tue Dec 07 04:03:15 2010, cgirard wrote: Show quoted text
> Thanks.
Cedric, The new version 0.040000 implements the single line of code (and one extra test) to ensure this works. Your feedback is the only thing maintaining this module alive; please let me know how else can I make it better. :) Have a nice day. Kind regards -- Luis Motta Campos is a software engineer, Perl Programmer, foodie and photographer.
Subject: Re: [rt.cpan.org #63659] New interface does not works
Date: Wed, 8 Dec 2010 14:27:56 +0100
To: bug-RPSL-Parser [...] rt.cpan.org
From: Cédric Girard <girard.cedric [...] gmail.com>
On Tue, Dec 7, 2010 at 10:29 PM, Luis Motta Campos via RT < bug-RPSL-Parser@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=63659 > > > On Tue Dec 07 04:03:15 2010, cgirard wrote:
> > Thanks.
> > Cedric, > > The new version 0.040000 implements the single line of code (and one extra > test) to ensure > this works. > > Your feedback is the only thing maintaining this module alive; please let > me know how else > can I make it better. :) > > Have a nice day. > Kind regards > -- > Luis Motta Campos is a software engineer, > Perl Programmer, foodie and photographer. > >
Thank you for your time. It is working well now. -- Cédric Girard