Help creating an RT::URI::bugzilla.pm

With only little perl experience, I would like to try and create an
RT::URI::bugzilla.pm

Does anyone know of any documents/articles that may help in
understanding this?

I have tried using fsck_com_rt.pm as a base, but feel like I need more
to get this going.

What I’d like to do is,

        If link (probably just refers to, but could be anything..)

matches http://bugzilla/show_bug.cgi?id=2054 (I could just match at
show_bug)

Grab the id number. Send the ID number to a script I’ve written that
will connect to the bugzilla db and return the status of the ticket.

Display BUG:$bugnumber Status:$status with a link to the bug (on the bug
number) in the links section.

If anyone would assist I’d be grateful.