Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Webservice in Perl

by codehack (Initiate)
on Oct 05, 2011 at 07:57 UTC ( #929729=perlquestion: print w/replies, xml ) Need Help??
codehack has asked for the wisdom of the Perl Monks concerning the following question:

Can anyone suggest me the book for web-service in Perl? Also can you give me the example/company/application where Perl web-service is used.

Replies are listed 'Best First'.
Re: Webservice in Perl
by perl_lover (Chaplain) on Oct 05, 2011 at 08:53 UTC

      Or maybe not. The book is 9 years old.

      Enoch was right!
      Enjoy the last years of Rome.

Re: Webservice in Perl
by chrestomanci (Priest) on Oct 05, 2011 at 08:23 UTC

    Book recommendations would depend on what technology you intend to use. For example many people use Catalyst for websites, in which case there are a number of Catalyst books to chose from.

    As for who uses perl for websites, a lot of companies do. For example if you take a look at you will see that have this open vacancy for lots of perl devs, so it would be reasonable to assume that they use perl for their website. There are plenty of others, and I have been approached by around a dozen of them, but they are more local in nature.

Re: Webservice in Perl
by duyet (Friar) on Oct 05, 2011 at 09:10 UTC
Re: Webservice in Perl
by afresh1 (Hermit) on Oct 06, 2011 at 05:01 UTC

    A newer option that I enjoy using is Mojolicious. I don't believe there are any books on it yet, but a fair amount of online documentation. A simple example web service from the Mojolicious web site looks like this:

    # RESTful web service with JSON and text representation get '/list/:offset' => sub { my $self = shift; my $numbers = [0 .. $self->param('offset')]; $self->respond_to( json => {json => $numbers}, txt => {text => join(',', @$numbers)} ); };

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://929729]
Approved by Corion
Front-paged by Corion
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2018-06-24 10:16 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (126 votes). Check out past polls.