1 2 >   ∑:33  Sort:Date

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, 57724🔥, 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 ...)

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, 30072🔥, 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, 13351🔥, 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 ...)

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, 12582🔥, 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 ...

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

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

💬 2015-10-26 jimmy: hello

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, 8982🔥, 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 ...)

Bin2Hex.pl - Converting Binary Data to Hex Numbers
This section provides a tutorial example on how to convert binary data file to hex numbers - Bin2Hex.pl.
2016-08-08, 7299🔥, 1💬

💬 2016-08-08 HEX: 831BE6B18E7006372069545885A80F786C33 D064904732D39EFBE0EC7019B5D4

Installing ActivePerl v5.8.8 on Windows Systems
This section provides a tutorial example on how to install ActivePerl v5.8.8 on a Windows XP system.
2016-04-02, 3996🔥, 1💬

💬 2016-04-02 rimpi: perl

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, 3637🔥, 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 יאיר: שלום

Converting Perl Script to Executable Binary
This chapter provides tutorial examples and notes about converting Perl script files to executable binary files. Topics include Perl script conversion tools: PerlApp and Perl2Exe; installing Perl Dev Kit with PerlApp, running PerlApp to convert DirGrep.pl to DirGrep.exe.
2016-02-18, 3439🔥, 2💬

💬 2016-02-18 Herong: Edgar, Thanks for sharing your script. I will test it and may include it in the next version of this book.

💬 2016-02-16 Edgar: # program to remove a leading UTF-8 BOM from a file # works both STDIN -> STDOUT and on the spot (with filename as argument) if ...

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, 3361🔥, 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 ...

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, 3078🔥, 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

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, 2869🔥, 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 ...)

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, 2832🔥, 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?

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, 2277🔥, 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

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, 2227🔥, 1💬

💬 2019-05-21 Willaim: Hello There

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, 1965🔥, 3💬

💬 2022-05-10 sxdc: m m

💬 2020-09-01 naim: hello

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

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, 1805🔥, 4💬

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

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

Printable Copy - PDF Version
Information on how to obtain the PDF version of this book for printing.
2015-10-09, 1541🔥, 2💬

💬 2015-10-09 Herong: Rakesh, Welcome to the Perl world!

💬 2015-10-07 Rakesh Patowary: I am new in Perl scripting

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, 1367🔥, 1💬

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, 1128🔥, 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...

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, 1029🔥, 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 ...)

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, 824🔥, 1💬

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, 655🔥, 1💬

💬 2017-06-26 vf: kjnpoi

1 2 >   ∑:33  Sort:Date