To install Gtk2::OSXApplication, simply copy and paste either of the commands in to your terminal
cpanm
cpanm Gtk2::OSXApplication
CPAN shell
perl -MCPAN -e shell
install Gtk2::OSXApplication
For more information on module installation please visit the detailed CPAN module installation guide.