Skip Menu |
 

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

Report information
The Basics
Id: 41569
Status: rejected
Priority: 0/
Queue: HTML-Parser

People
Owner: Nobody in particular
Requestors: jt [...] signless.com
Cc:
AdminCc:

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



Subject: @{text} argspec used in hform example does not work reliably
Download (untitled) / with headers
text/plain 198b
I copied the @{text} argspec notation from the hfrom example, which looks useful, but it seems to sometimes return undef when it is not expected to. The notation is not documented; is it deprecated?
From: jt [...] signless.com
Download (untitled) / with headers
text/plain 468b
On Tue Dec 09 13:42:01 2008, jt@signless.com wrote: Show quoted text
> I copied the @{text} argspec notation from the hfrom example, which > looks useful, but it seems to sometimes return undef when it is not > expected to. The notation is not documented; is it deprecated?
Actually, now that I put it that way, the issue is merely that it returns a blank string where I'm still expecting an arrayref with one element. So the only question is, is that notation supported? Thanks, JT
Download (untitled) / with headers
text/plain 436b
On Tue Dec 09 13:42:01 2008, jt@signless.com wrote: Show quoted text
> I copied the @{text} argspec notation from the hfrom example, which > looks useful, but it seems to sometimes return undef when it is not > expected to. The notation is not documented; is it deprecated?
It's documented and ought to work. Just search for '@{text}' in the HTML::Parser manpage. Please provide example code then demonstrates when it returns undef and I'll fix it.
From: jt [...] signless.com
Download (untitled) / with headers
text/plain 594b
On Tue Dec 09 13:50:28 2008, GAAS wrote: Show quoted text
> On Tue Dec 09 13:42:01 2008, jt@signless.com wrote:
> > I copied the @{text} argspec notation from the hfrom example, which > > looks useful, but it seems to sometimes return undef when it is not > > expected to. The notation is not documented; is it deprecated?
> > It's documented and ought to work. Just search for '@{text}' in the > HTML::Parser manpage. > > Please provide example code then demonstrates when it returns undef > and I'll fix it. >
You're right, apologies for cluttering your queue, and thanks for the extremely prompt reply.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.