Skip Menu |

This queue is for tickets about the App-Nopaste-Service-AnyPastebin CPAN distribution.

Report information
The Basics
Id: 55257
Status: resolved
Priority: 0/
Queue: App-Nopaste-Service-AnyPastebin

People
Owner: Nobody in particular
Requestors: avar [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.01
Fixed in: (no value)



Subject: Split C<my $content = { ... }> into a method
You should split the generation of C<my $content = { ... }> into a method. Not all pastebin.com derived pastebins use the exact same POST paramaters, see http://github.com/avar/app-nopaste-service- linode/blob/master/lib/App/Nopaste/Service/Linode.pm#L24 for an example of having to hack around this.
Sorry for the slow reply, RT decided not to send me an email on this ticket. I just pushed a new version (0.02) to pause that allows you to derive post content. Surprisingly the method is called post_content() :) Thanks for the feature request. - Jason On Fri Mar 05 08:51:52 2010, AVAR wrote: Show quoted text
> You should split the generation of C<my $content = { ... }> into a > method. Not all pastebin.com derived pastebins use the exact same POST > paramaters, see http://github.com/avar/app-nopaste-service- > linode/blob/master/lib/App/Nopaste/Service/Linode.pm#L24 for an
example Show quoted text
> of having to hack around this.
Feature added.
On Thu Mar 25 04:57:57 2010, JMMILLS wrote: Show quoted text
> Feature added.
Thanks. I uploaded App-Nopaste-Service-Linode-0.06.tar.gz to CPAN to use this.
Had some PAUSE weirdness... updated in 0.03. On Thu Mar 25 08:00:06 2010, AVAR wrote: Show quoted text
> On Thu Mar 25 04:57:57 2010, JMMILLS wrote:
> > Feature added.
> > Thanks. I uploaded App-Nopaste-Service-Linode-0.06.tar.gz to CPAN to
use Show quoted text
> this.