From 5f598ee4e9bd71933d1c308e9c4c06d92085d957 Mon Sep 17 00:00:00 2001 From: Matthew Connelly Date: Thu, 19 Nov 2015 19:53:49 +0000 Subject: [PATCH] wee cleanup --- lib/App/NoPaste/Service/WerePaste.pm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/App/NoPaste/Service/WerePaste.pm b/lib/App/NoPaste/Service/WerePaste.pm index 2cc37f5..59acbb9 100644 --- a/lib/App/NoPaste/Service/WerePaste.pm +++ b/lib/App/NoPaste/Service/WerePaste.pm @@ -40,15 +40,13 @@ sub fill_form { sub return { my ( $self, $mech ) = @_; - return (1,$mech->response->header('Location')) if $mech->response->is_redirect; - return (0,'Cannot find URL'); + return (1, $mech->response->header('Location')) if $mech->response->is_redirect; + return (0, 'Cannot find URL'); } sub _credentials { ($ENV{WEREPASTE_USER}, $ENV{WEREPASTE_PASS}) } 1; - - __END__ =pod