I think you need to step back and get the fundamentals down before attempting to make a web service right away. Moreover, your question is contradictory, without having a web server installed or available, it follows that it is illogical to attempt to do anything for or with it.

A web server is not a "file"(as you are likely imagining it) that can be saved like a text document or image. Surely you must have learned the fundamentals of the web server within the introductory part of whichever course you follow or book you are reading. If not, you may want to reconsider your investment.

The most I can recommend is to follow the tutorials presented for popular solutions such as Dancer or Catalyst.
Also, see How do I post a question effectively?.

~Thomas~ 
"Excuse me for butting in, but I'm interrupt-driven..."

In reply to Re: Web service without a server by thomas895
in thread Web service without a server by rudrakiran

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.