Latest Perl recipes http://code.activestate.com/recipes/langs/perl/new/2015-11-17T00:14:45-08:00ActiveState Code RecipesApache::ReadConfig (Perl)
2015-11-17T00:14:45-08:00Roger Mbiama Assogohttp://code.activestate.com/recipes/users/4193133/http://code.activestate.com/recipes/579127-apachereadconfig/
<p style="color: grey">
Perl
recipe 579127
by <a href="/recipes/users/4193133/">Roger Mbiama Assogo</a>
(<a href="/recipes/tags/angosso_net/">angosso_net</a>).
</p>
<p>mod_perl defines a package called Apache::ReadConfig. Here it keeps all the variables that you define inside the <Perl> sections.</p>
Angosso (Perl)
2015-07-29T21:21:56-07:00Roger Mbiama Assogohttp://code.activestate.com/recipes/users/4182949/http://code.activestate.com/recipes/579087-angosso/
<p style="color: grey">
Perl
recipe 579087
by <a href="/recipes/users/4182949/">Roger Mbiama Assogo</a>
(<a href="/recipes/tags/i18n/">i18n</a>).
</p>
<p>PPM management utility for ActivePerl
The http_proxy Environment Variable
Setting http_proxy
Using the CPAN shell</p>
Installed Modules (Perl)
2015-07-17T04:18:15-07:00Roger Mbiama Assogohttp://code.activestate.com/recipes/users/4178746/http://code.activestate.com/recipes/579084-installed-modules/
<p style="color: grey">
Perl
recipe 579084
by <a href="/recipes/users/4178746/">Roger Mbiama Assogo</a>
(<a href="/recipes/tags/application/">application</a>, <a href="/recipes/tags/debugging/">debugging</a>, <a href="/recipes/tags/network/">network</a>).
</p>
<p>Additional Perl modules are installed on the server (aside from the standard libraries)
run from a web broswer.</p>
embedded ssl (Perl)
2015-07-17T01:39:05-07:00Roger Mbiama Assogohttp://code.activestate.com/recipes/users/4178746/http://code.activestate.com/recipes/579083-embedded-ssl/
<p style="color: grey">
Perl
recipe 579083
by <a href="/recipes/users/4178746/">Roger Mbiama Assogo</a>
(<a href="/recipes/tags/root/">root</a>).
</p>
<p>"This module is a true drop-in replacement for IO::Socket::INET that \
uses SSL to encrypt data before it is transferred to a remote server \
or client. IO::Socket::SSL supports all the extra features that one \
needs to write a full-featured SSL client or server application: \
multiple SSL contexts, cipher selection, certificate verification, and \
SSL version selection. As an extra bonus, it works perfectly with \
mod_perl."</p>
hollow (Perl)
2015-03-08T22:16:06-07:00Jyh Chonghttp://code.activestate.com/recipes/users/4191780/http://code.activestate.com/recipes/579033-hollow/
<p style="color: grey">
Perl
recipe 579033
by <a href="/recipes/users/4191780/">Jyh Chong</a>
.
</p>
<h4 id="usrbinperl-w">!/usr/bin/perl -w</h4>
<pre class="prettyprint"><code> print "Content-type: text/html\n\n";
print "Hello, world";
</code></pre>
Get all installed Windows hotfixes (Perl)
2014-07-31T17:33:19-07:00Brett Carrollhttp://code.activestate.com/recipes/users/4174322/http://code.activestate.com/recipes/578917-get-all-installed-windows-hotfixes/
<p style="color: grey">
Perl
recipe 578917
by <a href="/recipes/users/4174322/">Brett Carroll</a>
(<a href="/recipes/tags/engineering/">engineering</a>, <a href="/recipes/tags/fix/">fix</a>, <a href="/recipes/tags/hotfix/">hotfix</a>, <a href="/recipes/tags/hotfixes/">hotfixes</a>, <a href="/recipes/tags/ole/">ole</a>, <a href="/recipes/tags/perl/">perl</a>, <a href="/recipes/tags/quick/">quick</a>, <a href="/recipes/tags/win32/">win32</a>, <a href="/recipes/tags/windows/">windows</a>, <a href="/recipes/tags/wmi/">wmi</a>).
</p>
<p>This script uses WMI (via Win32::OLE) to retrieve and print out a comma separated list of all installed Windows hotfixes.</p>
Send a message to remote syslog server (Perl)
2014-07-31T17:23:17-07:00Brett Carrollhttp://code.activestate.com/recipes/users/4174322/http://code.activestate.com/recipes/578916-send-a-message-to-remote-syslog-server/
<p style="color: grey">
Perl
recipe 578916
by <a href="/recipes/users/4174322/">Brett Carroll</a>
(<a href="/recipes/tags/perl/">perl</a>, <a href="/recipes/tags/syslog/">syslog</a>, <a href="/recipes/tags/unix/">unix</a>).
Revision 2.
</p>
<p>This script allows sending syslog messages to a remote syslog server (UNIX).</p>
Multiple host/ip DNS resolution - mass_nslookup.pl (Perl)
2014-07-31T17:11:03-07:00Brett Carrollhttp://code.activestate.com/recipes/users/4174322/http://code.activestate.com/recipes/578915-multiple-hostip-dns-resolution-mass_nslookuppl/
<p style="color: grey">
Perl
recipe 578915
by <a href="/recipes/users/4174322/">Brett Carroll</a>
(<a href="/recipes/tags/address/">address</a>, <a href="/recipes/tags/digg/">digg</a>, <a href="/recipes/tags/dns/">dns</a>, <a href="/recipes/tags/hostname/">hostname</a>, <a href="/recipes/tags/ip/">ip</a>, <a href="/recipes/tags/nslookup/">nslookup</a>, <a href="/recipes/tags/perl/">perl</a>).
</p>
<p>Parse a text file containing a list of IP Addresses or hostnames (one per line) and print out the corresponding IP Address or hostname resolved by DNS.</p>
Get external IP (Perl)
2013-07-01T05:48:51-07:00greg zakharovhttp://code.activestate.com/recipes/users/4184115/http://code.activestate.com/recipes/578581-get-external-ip/
<p style="color: grey">
Perl
recipe 578581
by <a href="/recipes/users/4184115/">greg zakharov</a>
(<a href="/recipes/tags/ipv4/">ipv4</a>).
Revision 2.
</p>
<p>Checks IPv4</p>
Local Secure (Perl)
2012-09-30T19:32:11-07:00Roger Mbiama Assogohttp://code.activestate.com/recipes/users/4182949/http://code.activestate.com/recipes/578274-local-secure/
<p style="color: grey">
Perl
recipe 578274
by <a href="/recipes/users/4182949/">Roger Mbiama Assogo</a>
(<a href="/recipes/tags/any/">any</a>, <a href="/recipes/tags/os_walk/">os_walk</a>).
</p>
<p>Debian LINUX os</p>
OS2::UPM (undef) (Perl)
2012-09-30T19:25:20-07:00Roger Mbiama Assogohttp://code.activestate.com/recipes/users/4182949/http://code.activestate.com/recipes/578273-os2upm-undef/
<p style="color: grey">
Perl
recipe 578273
by <a href="/recipes/users/4182949/">Roger Mbiama Assogo</a>
(<a href="/recipes/tags/bug/">bug</a>, <a href="/recipes/tags/reportlab/">reportlab</a>).
</p>
<p>The CPAN Testers Family: Os: linux apache(kernel)</p>
angosson Recepes (Perl)
2012-07-24T13:54:34-07:00Roger Mbiama Assogohttp://code.activestate.com/recipes/users/4182949/http://code.activestate.com/recipes/578223-angosson-recepes/
<p style="color: grey">
Perl
recipe 578223
by <a href="/recipes/users/4182949/">Roger Mbiama Assogo</a>
(<a href="/recipes/tags/angosso_net/">angosso_net</a>).
</p>
<p>Stable Cpanel</p>
Perl Script to obtain data file in a desired format (Perl)
2011-02-19T23:18:01-08:00ilon asolothttp://code.activestate.com/recipes/users/4177080/http://code.activestate.com/recipes/577582-perl-script-to-obtain-data-file-in-a-desired-forma/
<p style="color: grey">
Perl
recipe 577582
by <a href="/recipes/users/4177080/">ilon asolot</a>
.
</p>
<p>This discusses about using Perl, how we can obtain a data file in a particular desired format, given a data file in a random format. By format, we refer to the order of columns in the input data file. Using this Perl script, we obtain output data file in a particular format and we get another file having discarded data lines, based on some filtering condition.</p>
Perl URL encode and decode (Perl)
2010-11-02T17:52:46-07:00Trent Mickhttp://code.activestate.com/recipes/users/4173505/http://code.activestate.com/recipes/577450-perl-url-encode-and-decode/
<p style="color: grey">
Perl
recipe 577450
by <a href="/recipes/users/4173505/">Trent Mick</a>
(<a href="/recipes/tags/decode/">decode</a>, <a href="/recipes/tags/encode/">encode</a>, <a href="/recipes/tags/url/">url</a>).
</p>
<p>URL encode and decode functions for Perl.</p>
Simple Example demonstrating Ajax Implementation using Perl (Perl)
2007-03-11T07:37:16-07:00Rajkumar Jainhttp://code.activestate.com/recipes/users/4040865/http://code.activestate.com/recipes/502299-simple-example-demonstrating-ajax-implementation-u/
<p style="color: grey">
Perl
recipe 502299
by <a href="/recipes/users/4040865/">Rajkumar Jain</a>
.
</p>
<p>In the example below, we have a table containing Student names and Marks. Every row has an Edit button, by which user can edit the information for that row. We have used Microsoft Access as the Database to keep things very simple. In order to run the below example code you will have to create a table by the name “Student” in MS Access”. It should have the following columns.</p>
<p>Column Name Data type
Sl_No(Primary Key) Number
Name Text
Marks Number</p>
<p>Also you need to create a DSN by the name “mydsn” pointing to the Access DB.</p>
<p>The basic logic here used in the example is that we have two separate rows for View and Edit (for every Student). Initially we hide the Edit row (by using style="display:none") and display the View Row(by using style="display:block"). When the user clicks on the “Edit” button, the View row becomes hidden and the Edit row is displayed. We have used JavaScript to toggle between the rows. Below is the code snippet used in files (AjaxExample.pl and student.js).</p>
Perl Script to obtain data file in a desired format (Perl)
2007-03-11T07:30:50-07:00Rajkumar Jainhttp://code.activestate.com/recipes/users/4040865/http://code.activestate.com/recipes/502298-perl-script-to-obtain-data-file-in-a-desired-forma/
<p style="color: grey">
Perl
recipe 502298
by <a href="/recipes/users/4040865/">Rajkumar Jain</a>
.
</p>
<p>This discusses about using Perl, how we can obtain a data file in a particular desired format, given a data file in a random format. By format, we refer to the order of columns in the input data file. Using this Perl script, we obtain output data file in a particular format and we get another file having discarded data lines, based on some filtering condition.</p>
Installing Perl modules on Windows (Perl)
2007-03-11T07:25:55-07:00Rajkumar Jainhttp://code.activestate.com/recipes/users/4040865/http://code.activestate.com/recipes/502297-installing-perl-modules-on-windows/
<p style="color: grey">
Perl
recipe 502297
by <a href="/recipes/users/4040865/">Rajkumar Jain</a>
.
</p>
<p>This discusses about installing Perl modules on Windows, using PPM tool or manually.</p>