Sort: Date

Downloading and Editing WSDL Document
This section provides a tutorial example on how to download the WSDL document from the Web service provider. You can change port.address[@location] to a localhost URL to local testing.
2016-08-02, 18824👍, 10💬

💬 2016-08-02 Herong: Reshma, The error is expected. The purpose of the test is to load a WSDL document and fire a request correctly. The response is ...

💬 2016-07-19 Reshma: Am getting the below error while doing this change: 2016-07-19 10:06:59 - Error getting response; org.apache.http.conn.HttpHostC...

💬 2015-09-02 Herong: Charan, why are you posting a WSDL document as comment?

💬 2015-08-31 charan: <wsdl:definitions targetNamespace="http://com/comviva/ ...">... <wsdl:portType name="smsxmlpushservicews"> <wsdl:operat...

💬 2015-08-24 sa: good

(More comments ...)

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.
2017-04-03, 11517👍, 10💬

💬 2017-04-03 john honaii.....: heeeeeheeeee

💬 2016-06-12 Chris Fifield: This was kind of helpful. Thanks

💬 2016-03-11 daniel gadd: donst work

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.
2017-05-20, 3407👍, 17💬

💬 2017-05-20 qws: very good

💬 2017-02-14 xiaoluo: i need to download it

💬 2017-02-09 zzhao: i want to download it

💬 2017-01-21 Herong: Joy, one way to get NMake is to download and install Visual C++ Express. NMake is included in it.

💬 2017-01-16 Joy: I want to download NMAKE

(More comments ...)

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...
2015-07-17, 3124👍, 3💬

💬 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...

💬 2010-11-19 Kim: Thank you Herong. I am a beginner and teaching myself how to use PERL. I found your tutorials very interesting. I am building a ...

This section describes what is QUERY_STRING and how to use to receive information from the HTTP request URL.
2015-10-26, 1742👍, 1💬

💬 2015-10-26 jimmy: hello

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.
2015-11-11, 1103👍, 4💬

💬 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 - Converting Binary Data to Hex Numbers
This section provides a tutorial example on how to convert binary data file to hex numbers -
2016-08-08, 1022👍, 1💬

💬 2016-08-08 HEX: 831BE6B18E7006372069545885A80F786C33 D064904732D39EFBE0EC7019B5D4

ReadParse() - Parsing Web Form Input Values
This section describes functions provided in the CGI library, It also provides a tutorial example on how to use the ReadParse() to parse Web form input values and other functions.
2016-05-04, 1006👍, 3💬

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

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.
2016-03-28, 918👍, 3💬

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

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

💬 2016-01-26 ram: open(FEATURE, $ARGV[0]); while(<FEATURE>) { chomp; if(/^\s*$/) { next; } elsif(/^Enter word or sentence/) { next; } elsif(/^W...

binmode() - Opening Files for Binary Input
This section describes steps on how to open file for binary input using open(), binmode() and read() functions.
2016-01-13, 681👍, 1💬

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

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 to DirGrep.exe.
2016-02-18, 644👍, 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 ... - CGI Application Example
This section provides a tutorial example of Perl CGI application: - Returning the result of any arithmetic expression like a calculator.
2015-11-24, 640👍, 1💬

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

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

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

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

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, 442👍, 1💬

💬 2016-04-02 rimpi: perl

Installing Apache HTTP Server 2.2.25 on Windows
This section describes how to install Apache 2.2.25 binary distribution on Windows systems.
2016-06-19, 345👍, 2💬

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

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

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.
2016-08-27, 268👍, 2💬 - Sample Program to Read Directories
This section provides a tutorial example on how to open the current directory using opendir() function and read its file names using readdir() function.
2015-10-10, 258👍, 2💬

💬 2010-11-19 Herong: Kim, I am not sure if you were talking about the script. If yes, reading the root directory can be done by: opendir(D...

💬 2010-11-18 Kim: I learned alot from your directory tutorials- how can I change this to read the root directory opposed to the default perl one?

Running PerlApp to Convert *.pl to *.exe
This section provides a tutorial example of running PerlApp from ActiveStat to convert a sample Perl script,, to Windows executable binary, DirGrep.exe.
2017-01-14, 251👍, 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?

File Handles and Data Input/Output
This chapter provides tutorial examples and notes about file handles and data input or output. Topics include using open() function to open file handles; using print() to output data; using to input data.
2016-02-19, 209👍, 2💬

💬 2016-02-19 Herong: Thirumaran, Your answer is correct, only if the question is a+b=? ☺

💬 2016-02-15 ThirumaranM: a=6 b=2 so answer is 8

opendir() - Open Directory to Read File Names
This section describes Perl built-in functions, opendir() and readdir(), to open a file directory and read its file names and sub-directories.
2016-02-15, 208👍, 1💬

💬 2016-02-15 wewewe: meaningful robot bla bla bla

What Is LWP::UserAgent?
This section describes what is LWP::UserAgent - a Perl class that helps you to prepare a HTTP request, send it to a Web server, then receive the HTTP response from the Web server.
2015-09-25, 166👍, 1💬

binmode() - Opening Files for Binary Output
This section describes steps on how to open file for binary output using open(), binmode() and print() functions.
2015-09-09, 150👍, 1💬

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, 115👍, 1💬

  Sort: Date