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