in reply to Web Services

Thanks for the replies.

I have query though (and I realise this might seem like a newbie query!) but if I was to use path info for resource access would I need to have a corresponding script in each directory on my webserver? That is, "/id" directory contains it's own id.pl "/details" contains the details.pl script?

Replies are listed 'Best First'.
Re^2: Web Services
by derby (Abbot) on Jun 20, 2013 at 12:26 UTC

    No, you do not. You could have it as /cgi-bin/script_name/id -- and then use CGI's path_info method to get the appropriate info. If you're really into it, I would recommend Dancer or Mojolicious over bare-bones CGI. One of the big wins for those two frameworks are the router DSL they provide that abstracts all that low-level path_info/param handling away.

    Also, since you're really at the beginning web developer stage, seek out a local Perl Mongers meeting for assistance.

    -derby
      Thanks derby - there is no Perl Mongers meet in my country though! I will struggle on!