Skip Menu |

This queue is for tickets about the RDF-iCalendar CPAN distribution.

Report information
The Basics
Id: 85188
Status: resolved
Priority: 0/
Queue: RDF-iCalendar

People
Owner: perl [...] toby.ink
Requestors: dr [...] jones.dk
Cc:
AdminCc:

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



Subject: RDF::vCard::Exporter::export_card() broken
Date: Sat, 11 May 2013 09:58:38 +0200
To: bug-RDF-vCard [...] rt.cpan.org
From: Jonas Smedegaard <dr [...] jones.dk>
Hi Toby, Any use of RDF::vCard::Exporter::export_card() fails. This patch fixes it: --- a/lib/RDF/vCard/Exporter.pm +++ b/lib/RDF/vCard/Exporter.pm @@ -4,6 +4,7 @@ use strict; use MIME::Base64 qw[]; +use RDF::vCard; use RDF::vCard::Entity; use RDF::vCard::Line; use RDF::TrineX::Functions Thanks for your work on RDF tools, - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private
Subject: Re: [rt.cpan.org #85188] RDF::vCard::Exporter::export_card() broken
Date: Sat, 11 May 2013 10:54:41 +0200
To: bug-RDF-vCard [...] rt.cpan.org
From: Jonas Smedegaard <dr [...] jones.dk>
Quoting $self: Show quoted text
> Any use of RDF::vCard::Exporter::export_card() fails.
Uhm, I realize now now the obvious workaround of simply declaring the use in the script use'ing RDF::vCard::Exporter. ...but if that is considered proper use (not just a workaround), it seems RDF::iCalendar::Exporter SYNOPSIS needs an update (and it feels wrong to me that one needs to explicitly "use" an underlying module). - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private
The code in the synopsis does: use RDF::vCard; And does *not* explicitly do: use RDF::vCard::Exporter; If you do that, it works, right?
Subject: Re: [rt.cpan.org #85188] RDF::vCard::Exporter::export_card() broken
Date: Tue, 14 May 2013 13:31:58 +0200
To: bug-RDF-vCard [...] rt.cpan.org, "Toby Inkster via RT" <bug-RDF-vCard [...] rt.cpan.org>,
From: Jonas Smedegaard <dr [...] jones.dk>
Quoting Toby Inkster via RT (2013-05-14 12:34:46) Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=85188 > > > The code in the synopsis does: > > use RDF::vCard; > > And does *not* explicitly do: > > use RDF::vCard::Exporter; > > If you do that, it works, right?
RDF::vCard synopsis indeed includes "use RDF::vCard;", as does the RDF::vCard::Exporter synopsis. RDF::iCalendar::Exporter synopsis, however, which is the synopsis I mentioned in this report, includes "use RDF::iCalendar;" and fails. (on a related note, RDF::iCalendar has no synopsis at all). Seems you are implying that RDF::vCard (and RDF::vCard::Exporter) does as promised and what it does is sensible. Should I file a separate report against RDF::iCalendar or can this one be reassigned? ...or do you not see an issue at all? - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private
Fixed in RDF::iCalendar 0.004. I don't think it's an issue in RDF::vCard.