Hello Jame!
10 Jun 2011 11:10, Jame Clay wrote to Maurice Kinal:
There are Perl FTN related modules available which use such things as the----- jame.log begins -----
pack function to do things like read/write FTN packets. The PERL echo is
back in distribution and discussions about such things is more than
welcome there!
[N] perl-gcpan/FTN-Database [1] (0.20): FTN SQL Database related operations fo
Fidonet/FTN related processing.
[N] perl-gcpan/FTN-JAM [1] (0.04): A Perl extension for handleing JAM messagebases.
[N] perl-gcpan/FTN-Log [1] (0.06): Perl extension for logging Fidonet Technology Networks (FTN) related processing.
[N] perl-gcpan/FTN-SRIF [1] (0.05): Perl extension to parse an Fidonet/FTN Standard Request Information File.
[1] "fidonet" /var/lib/layman/fidonet
----- jame.log ends -----
added your 4 perl modules to my gentoo overlay, gentoo/funtoo users can now install via portage like this:
layman -a fidonet
emerge -a FTN-SRIF
or other modules, thanks for helping more users
the localtime function itself returns it as a zero based integer
a zero based index is just as valid as a 1 based index
If you or anyone else do find such issues, please comment on it, preferably in the PERL echo
Hey Jame!
the localtime function itself returns it as a zero based integerYou're right. I never noticed that before. Everything I have ever used relating to dating has months numbered from 1 to 12.
Mind you I haven't used Perl all that much and when I have it
looked more like a shell script. Live and learn eh?
.... According to the DateTime module;
$month = $dt->month; # 1-12
so it appears that the posix modules in Perl follow the 1 based index
which explains why I was under the impression it was a universal
standard given that the DateTime module uses 'time' which is a Perl
posix function (number of seconds since the epoch) and resembles
coreutils' date which is what I am most familiar with.
Sysop: | DaiTengu |
---|---|
Location: | Appleton, WI |
Users: | 993 |
Nodes: | 10 (0 / 10) |
Uptime: | 14:05:46 |
Calls: | 13,004 |
Calls today: | 2 |
Files: | 186,574 |
Messages: | 3,279,167 |