There's no real example.
Keep in mind that you need to provide the API keys via an environmental variables APP_NOPASTE_PASTEBINCOM_API_KEY and APP_NOPASTE_PASTEBINCOM_USER_KEY
See perldoc App::Nopaste::Service::PastebinComAPI to learn about how to generate the USER key.
See docs for App::Nopaste
To install App::Nopaste::Service::PastebinComAPI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Nopaste::Service::PastebinComAPI
CPAN shell
perl -MCPAN -e shell install App::Nopaste::Service::PastebinComAPI
For more information on module installation, please visit the detailed CPAN module installation guide.