Perl

Perl

Join Similar CSV Using Perl

Join Similar CSV Using Perl

When exporting logs in Check Point using the smart log feature, sometimes the column order is randomized. If you have multiple files and need to join them, especially if they have different column orders, you don’t want to do this by hand. 1 Million Record Limit You have a limit of 1 Million records when ...

DNS Lookups with Perl Net::DNS::Resolver

DNS Lookups with Perl Net::DNS::Resolver

If you need to automate thousands of DNS lookups using Perl, you can try using the Net::DNS::Resolver and this script.

Fix Encoding Issues With Perl

Fix Encoding Issues With Perl

Sometimes when working with text files (like log exports), you might encounter weird encoding issues. If you need to fix encoding issues with Perl, you can use a script like this: This opens all of the files as raw encoding, then converts to ascii. You can check what type of file linux ...

Perl Script to Splice CSV Files

Perl Script to Splice CSV Files

Need to use a Perl script to splice out a section of a large CSV file? This should do the trick!

Use Perl to Match IP to Subnets

Use Perl to Match IP to Subnets

Use Perl to Match Multiple IP Addresses to Multiple Known Networks.

Use Perl Mechanize and LWP to Scrape Site Data

Use Perl Mechanize and LWP to Scrape Site Data

LWP is a great module for scraping data. This script demonstrates how to parse a website using Mechanize and LWP

Perl Script to Test URI Status

Perl Script to Test URI Status

The purpose of this Perl script is for base-lining multiple websites and generating a before and after report.