Mike Doherty > WWW-Hashbang-Pastebin-Client > p

Download:
WWW-Hashbang-Pastebin-Client-0.003.tar.gz

Annotate this POD

Website

View/Report Bugs
Source  

NAME ^

p - command-line read-write access to http://p.hashbang.ca

VERSION ^

version 0.003

SYNOPSIS ^

    p < file
    ps aux | p
    p --help

DESCRIPTION ^

p is a simple command line program to write to (and read from) the pastebin http://p.hashbang.ca, which runs WWW::Hashbang::Pastebin.

Writing

Provide input on stdin to p to paste it to the pastebin. Provide the --lang option to specify syntax highlighting to apply.

    ps aux | sprunge
    sprunge --lang pl < file.pl

Reading

Run p with a URL or paste ID to output the text to stdout.

    p H2gc | less

OPTIONS ^

--help, -h, -?

Opens this man page and exits.

--version

Prints the version of this program and supporting libraries.

--url

Set the URL to a different site running WWW::Hashbang::Pastebin.

AVAILABILITY ^

The project homepage is http://metacpan.org/release/WWW-Hashbang-Pastebin-Client/.

The latest version of this module is available from the Comprehensive Perl Archive Network (CPAN). Visit http://www.perl.com/CPAN/ to find a CPAN site near you, or see https://metacpan.org/module/WWW::Hashbang::Pastebin::Client/.

SOURCE ^

The development version is on github at http://github.com/doherty/WWW-Hashbang-Pastebin-Client and may be cloned from git://github.com/doherty/WWW-Hashbang-Pastebin-Client.git

BUGS AND LIMITATIONS ^

You can make new bug reports, and view existing ones, through the web interface at https://github.com/doherty/WWW-Hashbang-Pastebin-Client/issues.

AUTHOR ^

Mike Doherty <doherty@cpan.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2012 by Mike Doherty.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: