X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2FWWW%2FOpenSearch%2FRequest.pm;h=d32feb4a70e3b60a1477480322ce9ad60fd0a1d0;hb=e8034964e59d326a3c039ce5cd462ef429da70ac;hp=7c33255a10252a2ca6c77414ff2d1a0aa64cc4bb;hpb=0418a266d571b99934f124a6d8e2b1d4b99f22fc;p=libwww-opensearch-perl.git diff --git a/lib/WWW/OpenSearch/Request.pm b/lib/WWW/OpenSearch/Request.pm index 7c33255..d32feb4 100644 --- a/lib/WWW/OpenSearch/Request.pm +++ b/lib/WWW/OpenSearch/Request.pm @@ -45,7 +45,7 @@ WWW::OpenSearch::Request - Encapsulate an opensearch request =head1 COPYRIGHT AND LICENSE -Copyright 2007 by Tatsuhiko Miyagawa and Brian Cassidy +Copyright 2005-2013 by Tatsuhiko Miyagawa and Brian Cassidy This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. @@ -53,12 +53,12 @@ it under the same terms as Perl itself. =cut sub new { - my( $class, $os_url, $params ) = @_; + my ( $class, $os_url, $params ) = @_; - my( $uri, $post ) = $os_url->prepare_query( $params ); + my ( $uri, $post ) = $os_url->prepare_query( $params ); my $self; - if( lc $os_url->method eq 'post' ) { + if ( lc $os_url->method eq 'post' ) { $self = HTTP::Request::Common::POST( $uri, $post ); bless $self, $class; } @@ -73,7 +73,7 @@ sub new { } sub clone { - my $self = shift; + my $self = shift; my $clone = bless $self->SUPER::clone, ref( $self ); $clone->opensearch_url( $self->opensearch_url );