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.