Skip Menu |

This queue is for tickets about the Net-DNS CPAN distribution.

Report information
The Basics
Id: 96708
Status: resolved
Priority: 0/
Queue: Net-DNS

People
Owner: Nobody in particular
Requestors: Mark.Martinec [...] ijs.si
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.77
Fixed in: (no value)



Looks like a bug introduced in the post-0.77 trunk: Good: $ perl -le 'use Net::DNS; print Net::DNS::RR->new( name=>"x.com",type=>"TXT",txtdata => ["foo","00","bar"])->string' x.com. 0 IN TXT foo 00 bar Wrong: $ perl -le 'use Net::DNS; print Net::DNS::RR->new( name=>"x.com",type=>"TXT",txtdata => ["foo","0","bar"])->string' x.com. 0 IN TXT ( foo bar )
Subject: String treated as boolean (perl treats "0" as fails)
From: Mark.Martinec [...] ijs.si
(sorry for leaving severity and subject empty, maybe this will get the subject right)
From: rwfranks [...] acm.org
On Wed Jun 25 10:47:52 2014, Mark.Martinec@ijs.si wrote: Show quoted text
> > $ perl -le 'use Net::DNS; print Net::DNS::RR->new( > name=>"x.com",type=>"TXT",txtdata => ["foo","0","bar"])->string' >
Fixed on trunk x.com. 0 IN TXT foo 0 bar
And in 0.78