Ask a Question related to PERL Miscellaneous, Design and Development.

  1. #1

    Default simple server

    Hi,

    I am looking to create database (probably) using SQLlite and perl and it's
    interface. What i would like to know is there any way with perl for me to
    create a simple server, so i could say open a local file form the harddrive
    in my webbrowser, then click on a link to execute a perl script which will
    in turn return data to the current browser process.

    Hope i explained that ok.

    With Thanks

    D Borland


    ---
    This e-mail has been virus scanned and is certified virus Free.
    Checked by AVG anti-virus system ([url]http://www.grisoft.com[/url]).
    Version: 6.0.518 / Virus Database: 316 - Release Date: 9/11/03


    D Borland Guest

  2. Similar Questions and Discussions

    1. simple server side script help plz.
      Can somebody tell me how to write a flash media server2 server side script which when it detects a client has connected it loads a remote shared...
    2. simple client-server program ??
      Hi, how do I develop the following 'simple' program using ASP.NET webforms : a client has a text-file (aaa.txt) that has to be manipulated by...
    3. Simple db - PERL vs MS SQL Server
      Hi all, I currently have a very simple, fairly small (25,000 records), one table database in MS SQL Server that is accessed for read only & read...
    4. server control simple bindable property
      I've made a server control that overrides the dropdownlist control. It has one new property (ddlLocation) that needs to be databound. All is...
    5. this very simple UDP client/server.. doesn't work?
      On Mon, 04 Aug 2003 04:37:26 GMT, "Adam M." <adamm@san.rr.com> wrote in comp.lang.c: In the future please leave comp.lang.c out of crossposts...
  3. #2

    Default Re: simple server

    D Borland <no.name@eidosnet.co.uk> wrote:
    > What i would like to know is there any way with perl for me to
    > create a simple server, so i could say open a local file form the harddrive
    > in my webbrowser, then click on a link to execute a perl script which will
    > in turn return data to the current browser process.

    Any web server will do that.

    There are many free web servers available.

    What is your Perl question?


    --
    Tad McClellan SGML consulting
    [email]tadmc@augustmail.com[/email] Perl programming
    Fort Worth, Texas
    Tad McClellan Guest

  4. #3

    Default Re: simple server

    my perl question was how do i do that i perl, not with Apache, et cetera, or
    another server. I was wondering if perl has an ability to do that.

    That was what i asked wasn't it?

    D Borland

    "Tad McClellan" <tadmc@augustmail.com> wrote in message
    news:slrnbmm6r2.gdh.tadmc@magna.augustmail.com...
    > D Borland <no.name@eidosnet.co.uk> wrote:
    >
    > > What i would like to know is there any way with perl for me to
    > > create a simple server, so i could say open a local file form the
    harddrive
    > > in my webbrowser, then click on a link to execute a perl script which
    will
    > > in turn return data to the current browser process.
    >
    >
    > Any web server will do that.
    >
    > There are many free web servers available.
    >
    > What is your Perl question?
    >
    >
    > --
    > Tad McClellan SGML consulting
    > [email]tadmc@augustmail.com[/email] Perl programming
    > Fort Worth, Texas

    ---
    This e-mail has been virus scanned and is certified virus Free.
    Checked by AVG anti-virus system ([url]http://www.grisoft.com[/url]).
    Version: 6.0.518 / Virus Database: 316 - Release Date: 9/11/03


    D Borland Guest

  5. #4

    Default Re: simple server

    In article <bkf9qd$7p9$1@titan.btinternet.com>,
    D Borland <no.name@eidosnet.co.uk> wrote:
    >
    > "Tad McClellan" <tadmc@augustmail.com> wrote in message
    > news:slrnbmm6r2.gdh.tadmc@magna.augustmail.com...
    > >
    > > D Borland <no.name@eidosnet.co.uk> wrote:
    > > >
    > > > is there any way with perl for me to create a simple server,
    > > > so i could say open a local file form the harddrive in my
    > > > webbrowser, then click on a link to execute a perl script
    > > > which will in turn return data to the current browser process.
    > >
    > > Any web server will do that.
    > >
    > > There are many free web servers available.
    That wasn't his question. He may not have access to a suitable
    platform for running any of those servers, or he may simply
    want to study the code of a simple Perl HTTP server.

    I'd also like to play with a simple Perl web server so an answer
    to his question would help me and probably many others too.
    > > What is your Perl question?
    >
    > my perl question was how do i do that in perl,
    I've just had a quick look on CPAN: http:/search.cpan.org/
    and the following category looks interesting:
    [url]http://search.cpan.org/modlist/World_Wide_Web/HTTP[/url]
    In particular, [url]http://search.cpan.org/search?module=HTTP::Daemon[/url]
    might be useful. However, someone else may be able to point us
    directly at a portable HTTP server that supports CGI.

    --
    James Taylor, Cheltenham, Gloucestershire, UK. PGP key: 3FBE1BF9
    To protect against spam, the address in the "From:" header is not valid.
    In any case, you should reply to the group so that everyone can benefit.
    If you must send me a private email, use james at oakseed demon co uk.

    James Taylor Guest

  6. #5

    Default Re: simple server

    On Fri, 19 Sep 2003, James Taylor wrote:
    > I'd also like to play with a simple Perl web server so an answer
    > to his question would help me and probably many others too.
    CPAN is always the first port of call for such a requirement, rather
    than usenet, no?
    > I've just had a quick look on CPAN: http:/search.cpan.org/
    > and the following category looks interesting:
    > [url]http://search.cpan.org/modlist/World_Wide_Web/HTTP[/url]
    > In particular, [url]http://search.cpan.org/search?module=HTTP::Daemon[/url]
    > might be useful.
    I where I'd start, if I had such a requirement, yes...
    > However, someone else may be able to point us
    > directly at a portable HTTP server that supports CGI.
    Supporting CGI - supporting it properly, in accordance with the rules
    of HTTP and of the CGI spec - is not exactly "simple", and any
    substantive deviation could be a make-or-break difference from what a
    real server would do. So in order to give a competent response to a
    user requirement of this kind, I think we'd need to know more about
    the requirements than merely that the questioner "wants to do it in
    Perl".

    My gut feeling still says this: Apache is a competent server[*], it's
    available for a wide range of platforms, it's happy to talk to Perl
    scripts as CGI processes or in other ways (API, mod_perl), there are
    lots of folk who can and will help you with using it; it would need a
    very strong reason to want to re-invent that part of the wheel in
    Perl.
    [*] well, two, depending on which version you favour, 1.3.* or 2.*
    Alan J. Flavell Guest

  7. #6

    Default Re: simple server

    D Borland <no.name@eidosnet.co.uk> wrote:
    > "Tad McClellan" <tadmc@augustmail.com> wrote in message
    > news:slrnbmm6r2.gdh.tadmc@magna.augustmail.com...
    >> Any web server will do that.
    > I was wondering if perl has an ability to do that.

    Yes, you can write a web server in Perl.


    --
    Tad McClellan SGML consulting
    [email]tadmc@augustmail.com[/email] Perl programming
    Fort Worth, Texas
    Tad McClellan Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139