Update an existing work item's attribute using Perl?

We are moving to Jazz work item tracking from CQALM but the SCM is going to be primarily with ClearCase for a while.
We want to update the work item each time the bug-related code change is committed in CC. So we'll need to be able to establish a coonection from CC server to Jazz server everytime a CC commit is happening and then update one work item attribute (Comments, for instance) with the detail CC checkin info.
We are doing that now to update our CQ database with the checking info through Perl script calling CQ API functions.
Can we do the same in Jazz API or it has to be Java?
Where should I start?
Any help is appreciated.
We want to update the work item each time the bug-related code change is committed in CC. So we'll need to be able to establish a coonection from CC server to Jazz server everytime a CC commit is happening and then update one work item attribute (Comments, for instance) with the detail CC checkin info.
We are doing that now to update our CQ database with the checking info through Perl script calling CQ API functions.
Can we do the same in Jazz API or it has to be Java?
Where should I start?
Any help is appreciated.