> $ip = $req->header’Client-IP’ || $req->header’Remote-Addr’;
if $req->header’X-Forwarded-For’ {
$proxy = $ip;
$ip = $req->header’X-Forwarded-For’;
}
via Getting The Real IP Of Your Users
[http://thepcspy.com/read/getting_the_real_ip_of_your_users/].…
perlre – Perl regular expressions
[http://www.perl.com/doc/manual/html/pod/perlre.html].
NAME
perlre – Perl regular expressions
--------------------------------------------------------------------------------
DESCRIPTION
This page describes the syntax of regular expressions in Perl. For a description
of how to use regular expressions in matching operations, plus various examples
of the same, see…
Spreadsheet::WriteExcel
[http://homepage.eircom.net/~jmcnamara/perl/WriteExcel.html]:is a cross platform
Perl module for creating Excel binary files.
Multiple worksheets can be added to a workbook and formatting can be applied to
cells. Text, numbers, formulas, hyperlinks and images can be written to the
cells.
The Excel…
We recently had need to grab a small file from a machine (network management
devices running NT4 client) to a Perl script. We can’t make changes on these
clients but the file is available on a network share.
Enter the Filesys::SmbClient module, the documentation of which shows the…