1 2 >   ∑:33  Sort:Rank

Installing Apache HTTP Server 2.2.25 on Windows
This section describes how to install Apache 2.2.25 binary distribution on Windows systems.
2023-12-22, 1775🔥, 4💬

💬 2016-06-19 Herong: that was an interesting test.

💬 2016-06-17 a: <?php echo 'hello'; ?>

ReadParse() - Parsing Web Form Input Values
This section describes functions provided in the CGI library, cgi-bin.pl. It also provides a tutorial example on how to use the ReadParse() to parse Web form input values and other functions.
2023-09-21, 3581🔥, 12💬

💬 2022-09-22 abc: thanks

💬 2018-10-08 asdf: good

💬 2017-08-29 gerry: coo tutorial

💬 2015-10-30 Herong: Thank you, Yair. Your comment shows that form input values are processed correctly on my site for Hebrew language.

💬 2015-10-21 יאיר: שלום

Installing NMake 1.5
This section provides a tutorial example on how to install the 'make' utility on Windows, NMake 1.5, to help installing the RPC::XML Perl module.
2023-05-12, 29661🔥, 21💬

💬 2023-05-12 Fathi: thanks for providing such a tool

💬 2023-01-31 Bob Bobbette: meaningful comments. Thanks! ☺

💬 2017-11-16 Ye Hongshaui: Very good

💬 2017-11-02 lxddd: thank you very much!

💬 2017-08-18 zhaogt: verry good!

(More comments ...)

Downloading Apache HTTP Server 2.2.25 for Windows
This section describes how to download Apache (HTTP Server) 2.2.25 binary distribution for Windows systems.
2023-05-10, 13266🔥, 16💬

💬 2023-05-10 kornjvc: Thanks

💬 2020-04-20 Daniel Morris: This service is best service for best people

💬 2018-09-07 lijun: duo xie

💬 2018-03-30 ywb: 体验

💬 2018-02-28 黄先生: 多谢

(More comments ...)

open() - Opening File Handles for Input and Output
This section describes various ways to use the open() function to open file handles to input data from files or output data to files, input data from another process or output data to another process.
2023-03-23, 371🔥, 1💬

💬 2023-03-23 SILAS: I am writing a script that concatenates two input files into an output file. Once that is complete, I would like to use the resu...

Running Perl Scripts in "cgi-bin"
This section describes how to verify Apache httpd configuration and run Perl CGI (Common Gateway Interface) scripts in the default ScriptAlias directory: \local\apache\cgi-bin.
2022-12-21, 790🔥, 1💬

Running Perl Scripts on Linux Systems
This section provides a tutorial example on how to run Perl scripts on Linux systems. To make a Perl script file executable, you need to add '#!/usr/bin/perl' to the beginning of the script.
2022-09-14, 57571🔥, 10💬

💬 2022-09-09 Herong: Bharathi, there is no upload option in this tutorial. Can you provide more details?

💬 2022-09-05 Bharathi: I have perl script locally but unable to run this with file upload option. How to do it?

💬 2021-09-09 Meaningful comment: Is this a meaningful comment?

💬 2017-10-24 Herong: sdre, what is the issue are you referring to?

💬 2017-10-23 sdre: That's an issue with the Perl script, not with running the script itself, and it deserves another question (not here, on Stack O...

(More comments ...)

Calculator.pl - CGI Application Example
This section provides a tutorial example of Perl CGI application: Calculator.pl - Returning the result of any arithmetic expression like a calculator.
2022-05-10, 1948🔥, 3💬

💬 2022-05-10 sxdc: m m

💬 2020-09-01 naim: hello

💬 2015-11-24 Harry: Thank you! Top!!!

Perl Programs as IIS Server CGI Scripts
This chapter provides tutorial examples and notes on Perl programs as IIS Server CGI Scripts. Topics include IIS server configuration for Perl programs as CGI scripts; perlis.dll performance much better than perl.exe to support Perl CGI scripts; comparing performance of Perl, ASP, and JSP scripts.
2022-03-05, 334🔥, 1💬

💬 2022-03-05 J Grass: How do I do to enter this paper??

Retrieving and Setting HTTP Cookies
This section provides a tutorial example on how to retrieve cookies from the HTTP request header and set cookies to the HTTP response header. Cookie objects are created with the CGI::Cookie class.
2021-01-08, 1006🔥, 6💬

💬 2021-01-02 Herong: Rajat, show us your request dump, including headers. Maybe something wrong in your request.

💬 2020-12-22 Rajat: Thank you sir for your response. Actually issue is when i m trying to do a post using mechanize object i guess its blocking the ...

💬 2020-11-22 Herong: Rajat, LWP-UserAgent-Request.pl script only fires a single HTTP request to single Web server. To get 3rd party cookies, you need...

💬 2020-11-12 Rajat: Thanks sir i have tried out ` "LWP-UserAgent-Request.pl - GET, POST and Cookies" tutorial` but that didn't work. The cookie is a...

💬 2020-11-11 Herong: Rajat, you can follow "LWP-UserAgent-Request.pl - GET, POST and Cookies" tutorial to download cookies from Website.

(More comments ...)

printenv.pl - Testing Perl CGI Environment
This section provides a tutorial on how to modify the Perl CGI test script, printenv.pl, and run it to verify Apache 2 Perl CGI configuration.
2020-12-14, 3294🔥, 2💬

💬 2020-12-13 Herong: Alan, yes. You can run a similar Perl CGI script on a Linux server and you will get a different set of environment variables.

💬 2020-12-12 Alan: Under Linux/unix at least you can also do a chmod +x on the program and run it from a command line to test. The CGI environment ...

Perl Tutorials - Herong's Tutorial Examples
This Perl tutorial book is a collection of notes and sample codes written by the author while he was learning Perl language himself. Topics include ActivePerl, data types, subroutines, debug, references, objects, open, binary, file, directory, DBM, MySQL, regular expression, RPC::XML, XML::Simple, S...
2020-11-12, 8917🔥, 6💬

💬 2020-11-12 Rajat: Hi Herong sir, I am getting error while doing $mech->post for a request every time.Error looks like this `read timeout at /usr/s...

💬 2017-10-23 guru: That's an issue with the Perl script, not with running the script itself, and it deserves another question (not here, on Stack O...

💬 2017-10-06 drhvr: mysql I added root as user and password.in singlequotes. It works great

💬 2014-03-17 Steven Klotz: Hi Herong, I found this web site while looking for PERL examples. Your knowledge and the amount of work you done (docu, tutorial...

💬 2010-11-22 Herong: Kim, Yes, you can prompt the user for a path name, open directory with opendir(), loop through each files, use the -s operator t...

(More comments ...)

Perl Script Conversion Tools
This section describes why and how to convert Perl script files to executable binary files. ActivePerl Dev Kit and Perl2Exe are two popular conversion tools for Windows systems.
2020-02-29, 2829🔥, 6💬

💬 2020-02-29 smith: alert(1)

💬 2019-07-21 Herong: rrr, Thanks for sharing your Perl script. But I don't see any benefit of removing BOM from a Unicode text file. Without BOM, the...

💬 2019-07-20 rrr: # program to remove a leading UTF-8 BOM from a file # works both STDIN -> STDOUT and on the spot (with filename as argument) if ...

💬 2016-03-28 de: ~ m/^p(\d+)_.*\

💬 2016-01-27 Herong: Ram, can you tell us what is the purpose of your Perl script?

(More comments ...)

This section describes what is QUERY_STRING and how to use to receive information from the HTTP request URL.
2019-12-16, 10254🔥, 3💬

💬 2019-12-16 jyothirmayee: Hhank u very much

💬 2015-10-26 jimmy: hello

Running Perl Scripts on Windows Systems
This section provides a tutorial example on how to run Perl scripts with ActivePerl on Windows systems. To make a Perl script file executable, you need to set the script file name extension to '.pl'.
2019-06-17, 12505🔥, 2💬

💬 2019-06-16 Herong: Kalcifer, yes, there seems to be an problem with Windows 10 on associating default programs for file extensions. Does anyone hav...

💬 2019-06-14 Kalcifer: Something is wrong on Windows 10, Perl script does not recognize command line parameters. Example: D:\>assoc .pl .pl=PerlScript ...

Retrieving Query Parameters and Headers
This section provides a tutorial example on how to retrieve input parameters from query string and request content, and retrieve request headers.
2019-05-21, 2184🔥, 1💬

💬 2019-05-21 Willaim: Hello There

binmode() - Opening Files for Binary Input
This section describes steps on how to open file for binary input using open(), binmode() and read() functions.
2019-05-19, 2252🔥, 3💬

💬 2019-05-18 Herong: Anuj, Yes, you can read file without binmode, even if the file is binary. But the input byte stream will be interpreted as encod...

💬 2019-05-15 Anuj Jain: can we read file without binmode if a file is binary

💬 2016-01-13 Bin: The quick brown fox jumps over the lazy dog

XMLin() and XMLout() Methods
This section describes two key methods in the XML::Simple module, XMLin() and XMLout(), to convert XML text string into a hash structure representing the XML structure and to convert the hash back to a string.
2019-03-12, 1312🔥, 1💬

DBM Database Example - Book Records with Multiple Fields
This section provides a tutorial example of using DBM database files to build book records with multiple fields by joining them into a single string value.
2018-05-31, 341🔥, 1💬

💬 2018-05-31 pat: I just wanted to let you know that your examples are very informative and helpful to the small project I am working on. Thank yo...

cgi-lib.pl - The Standard Library for CGI Scripts
This section describes the de facto standard library, cgi-bin.pl, for Perl CGI scripts. It also provides a tutorial on how to download and install cgi-bin.pl 2.18 to the Apache server on a Windows system.
2018-01-20, 1106🔥, 2💬

💬 2018-01-20 Herong: Nils, Thanks for your comments. I will include them in the next update.

💬 2018-01-09 Nils Kammenhuber: DON'T use cgi-lib.pl! It is horribly outdated, the last version is from 1999, and it is said to have security issues. Instead, u...

XML Messages over Socket Connections
This section describes the XML message communication model - where client and server send and receive XML messages over socket communication connections.
2017-07-20, 3051🔥, 5💬

💬 2017-07-20 WOW: WOW

💬 2015-11-11 Herong: Thai, you are welcome!

💬 2015-11-10 Thai Khang: Thanks

💬 2015-11-10 Khang: thanks

💬 2015-10-06 Thai Khang: Thank you so much

Open Files in Binary Mode
This chapter provides tutorial examples and notes about opening files in binary mode. Topics include using binmode() to open files in binary mode; Copy.pl - copying binary files; Bin2Hex.pl - converting binary data to hex numbers.
2017-06-26, 644🔥, 1💬

💬 2017-06-26 vf: kjnpoi

Running PerlApp to Convert *.pl to *.exe
This section provides a tutorial example of running PerlApp from ActiveStat to convert a sample Perl script, DirGrep.pl, to Windows executable binary, DirGrep.exe.
2017-01-14, 2812🔥, 2💬

💬 2017-01-14 Herong: Monique, Yes, you run the commands listed in the tutorial at the command prompt.

💬 2017-01-12 Monique: Where do you actually run this???? from command prompt?

Scalar Values and List Values
This section describes what is a scalar value, a single numeric value or a string of characters, and what is a list value, a list of scalar values.
2016-10-19, 336🔥, 1💬

1 2 >   ∑:33  Sort:Rank