The notification record. Fields are:
short nmMark; /* item to mark in Apple menu*/ Handle nmIcon; /* handle to small icon*/ Handle nmSound; /* handle to sound record*/ Str255 nmStr; /* string to appear in alert*/ long nmRefCon; /* for application use*/
Create a new notification record and fill it in.
Install a notification.
Remove a notification.
To install Mac::Carbon, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mac::Carbon
CPAN shell
perl -MCPAN -e shell install Mac::Carbon
For more information on module installation, please visit the detailed CPAN module installation guide.