Of course Perl can seemlessly access all the functionality of OGo provided by the shell tools. In addition Perl supports XML-RPC very well and OGo provides examples for that.
As a matter of fact its simple to integrate existing Perl based dynamic webpages into OGo WebUI.