What is App::Pastebin::Create?
It’s a pastebin creator + uploader for pastebin.com, a tool written in Perl.
How to use it?
pastebin-create --text "Your text" --format 'perl' --expiry 10m --private 0 --desc "My perl mod title"
This will result a link to the public paste, with “My perl mod title” as the paste description, that will expiry in 10 minutes, with perl syntax highlighting, and “Your text” as the content.
How to install?
make sure you already configured CPAN first!
I recommend using cpanm instead of
cpanfor installation. To install
cpanm, you need to run
From my forked distribution on Github (maintained by me):
With cpanm (official CPAN): > `cpanm App::Pastebin::Create`
Tags: perl, programming, linux, unix, module, library, pastebin