Software engineering facts, information, and skills categorized as Perl

Basics of object orientation and inheritance in perl

Varghese Chacko 1 year, 8 months ago

Perl is an object oriented language. Perl has packages(class) that could be instanciated and used. At first, we need to decide the file namefor the package ans the perl class name carries the file name. For example, a package Student should be in the file Student.pm. If it shouldbe called Bright::Student, it should be saved asBright/Student.pm, ie Student.pm in a directory named Bright. There is no formal relationship between directory name and modules. That is just grouping for convenience.

Obtaining statistics for Net::FTP transfers

Varghese Chacko 1 year, 8 months ago

With Net:FTP for uplink and downlink file transfers, we may have problems with obtaining the same statistics that are provided by ftp when you perform a manual transfer, i.e file size, transfer duration and transfer speed in KBs. The easiest solution is to print the $ftp->message;  It contain some message. For example,

The New (computer) Testament

Varghese Chacko 1 year, 8 months ago

In 2007, I have translated apoetry about computers and posted on perl monks for fun. Just copy pasting it here, just for fun. 

Wish to hire us?

We take the vision which comes from dreams and apply the magic of science and mathematics, adding the heritage of our profession and our knowledge to create a design.