Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

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.

Comment on Webservice in Perl
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 (Monk) 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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2015-10-06 23:35 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (164 votes), past polls