Skip Menu |

This queue is for tickets about the RT-Client-REST CPAN distribution.

Report information
The Basics
Id: 21314
Status: resolved
Priority: 0/
Queue: RT-Client-REST

People
Owner: DMITRI [...] cpan.org
Requestors: GHENRY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.26
Fixed in: 0.27



Subject: SYNOPSIS Docs?
Hi Dmitri, Is this a typo in the SYNOPSIS, as there isn't a catch in Exception::Class? try { $rt->login(username => $user, password => $pass); } catch Exception::Class with { die "problem logging in: ", shift->message; }; I switched it to RT::Client::REST::Exception, as per: Can't locate object method "catch" via package "Exception::Class" at ./rt_client line 23. I'm just testing a few things, before we do a front end for RT on our site, for Client Reports/Interface etc. If I find any bugs etc., I'll through a patch at you ;-) Thanks, Gavin. P.S. Will leave a good review later ;-)
From: DMITRI [...] cpan.org
On Mon Sep 04 07:35:22 2006, GHENRY wrote: Show quoted text
> Hi Dmitri, > > Is this a typo in the SYNOPSIS, as there isn't a catch in
Exception::Class? Yup, that's a typo. That should be "catch Exception::Class::Base with". Also, did you forget to 'use Error qw(:try);' ? - Dmitri. P.S. Patches are always welcome.
Subject: Re: [rt.cpan.org #21314] SYNOPSIS Docs?
Date: Mon, 11 Sep 2006 13:46:56 +0100 (BST)
To: bug-RT-Client-REST [...] rt.cpan.org
From: "Gavin Henry" <ghenry [...] cpan.org>
<quote who="via RT"> Show quoted text
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=21314 > > > On Mon Sep 04 07:35:22 2006, GHENRY wrote:
>> Hi Dmitri, >> >> Is this a typo in the SYNOPSIS, as there isn't a catch in
> Exception::Class? > > Yup, that's a typo. That should be "catch Exception::Class::Base with". > > Also, did you forget to 'use Error qw(:try);' ?
Nope, that's in my script ;-) Show quoted text
> > - Dmitri. > > P.S. Patches are always welcome.
Cool ;-) Show quoted text
> >
This is fixed in release 0.27 of RT-Client-REST (scheduled to be out today). - Dmitri.
Subject: Re: [rt.cpan.org #21314] SYNOPSIS Docs?
Date: Tue, 3 Oct 2006 19:08:11 +0100 (BST)
To: bug-RT-Client-REST [...] rt.cpan.org
From: "Gavin Henry" <ghenry [...] perl.me.uk>
<quote who="via RT"> Show quoted text
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=21314 > > > This is fixed in release 0.27 of RT-Client-REST (scheduled to be out > today).
Excellent. We are using this to generate reports with PDF::Reuse for our clients. Thanks for all your work, Gavin. Show quoted text
> > - Dmitri. > >