Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: GHENRY [...] cpan.org
Cc:
AdminCc:

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



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 ;-)