How to Import a Perl Module

(reproduced from http://perldoc.perl.org/Exporter.html#How-to-Import) … In other files which wish to use your module there are three basic ways for them to load your module and import its symbols: use YourModule; This imports all the symbols from YourModule’s @EXPORT into the namespace of the use statement. use YourModule (); This causes …

Chilkat v9.1.0 for Perl 5.8, 5.10 on Linux read for Beta Testing

Downloads Perl 5.8, 64-bit: chilkat-9.1.0-Perl-5.8-x86_64-linux.tar.gz Perl 5.8, 32-bit: chilkat-9.1.0-Perl-5.8-x86-linux.tar.gz Perl 5.10, 64-bit: chilkat-9.1.0-Perl-5.10-x86_64-linux.tar.gz Perl 5.10, 32-bit: chilkat-9.1.0-Perl-5.10-x86-linux.tar.gz Install Instructions A. Decompress and unpack to any directory. gzip -dc chilkat-9.1.0-Perl-5.8-x86_64-linux.tar.gz | tar -xof – B. BUILD Go into the newly-created directory and type: perl Makefile.PL make make test C. INSTALL While …

Perl Date/Time Properties

Any date/time property in Chilkat’s Perl implementation is returned as a SYSTEMTIME object. Here is sample code that demonstrates getting the ValidTo and ValidFrom property from a digital certificate: $sysTime0 = new chilkat::SYSTEMTIME(); $cert->get_ValidFrom($sysTime0); $sysTime1 = new chilkat::SYSTEMTIME(); $cert->get_ValidTo($sysTime1); print “Valid from ” . $sysTime0->{wMonth} . “/” . $sysTime0->{wDay} . …