[perl api] Perl module with channel mode constants