Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: Perl FCGI Error: mod_fcgid: error reading data from FastCGI server

by knox (Sexton)
on Jan 28, 2020 at 21:03 UTC ( [id://11111988]=note: print w/replies, xml ) Need Help??


in reply to Re: Perl FCGI Error: mod_fcgid: error reading data from FastCGI server
in thread Perl FCGI Error: mod_fcgid: error reading data from FastCGI server

Superb, thank you for the answers and all the examples - exactly what I needed to push me along for learning Perl, despite having a typo in my code.

The socks example was exactly what i meant for testing, without saying succinctly what it was; the code example will be useful for my project.

To clarify (for me, and for other new learners), CGI::Fast is a "wrapper" for FCGI module. The reason for trying FCGI was following the advice from https://metacpan.org/pod/CGI::Fast "CGI::Fast is based on CGI.pm it is no longer advised as a way to write Perl web apps". I am neutral on other's peoples use of CGI.pm, but as for myself, I want to move away from this module. I will acknowledge that CGI.pm has a great crash course in learning Perl.

best, knox

  • Comment on Re^2: Perl FCGI Error: mod_fcgid: error reading data from FastCGI server

Replies are listed 'Best First'.
Re^3: Perl FCGI Error: mod_fcgid: error reading data from FastCGI server
by Anonymous Monk on Jan 28, 2020 at 21:39 UTC

      This helps put a new perspective on several questions I've had. I've been reluctant to dive into a frameworks because 1, its overkill for the project I am working on and 2, I want to be able understand code without a layer of abstraction.

      Recently, I've been involved with a Perl web project and really enjoying it. As someone new'ish to Perl, reading about CGI.pm online has been a can of worms, and I don't wish spark any animosity. However, by removing CGI.pm and not adapting frameworks (yet), it has forced me to look under the hood and learn Perl more deeply and has been rewarding. I've gleaned quite a bit just by inspecting the CGI.pm too. The threads you've provided give much food for thought, thank you.

        I think for a new programmer with some understanding of HTTP, Mojolicious is probably easier to learn, definitely easier to write, and an altogether superior toolkit to any of the F?CGI:: family. I like CGI.pm for what it is and I wrote thousands of scripts/CGIs with it. I would never use it again except for certain kinds of testing and quick HTML templating.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11111988]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2024-04-19 11:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found