perl plugin: Register perl plugins with use of 'userdata'.