Perl: Simple way to read Command line arguments

On December 14, 2010, in PERL, by Dipin Krishna

Parsing command-line arguments in Perl is very easy. All the command-line arguments are present in the array $ARGV. You can get the number of arguments passed as ( $#ARGV + 1 ). Below is a sample Perl script to read the command-line parameters.

Tagged with:  

Sending Emails Via Gmail SMTP With Perl

On December 8, 2010, in PERL, by Dipin Krishna

This is a tutorial on how to send mails using Perl Net::SMTP module through Gmail SMTP. The smtp module implements a client interface to the SMTP and ESMTP protocol, enabling a perl5 application to talk to SMTP servers. The first step is to create a SMTP connection to the server. A new Net::SMTP object must [...]

Tagged with:  

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...