TIP: Click on subject to list as thread! ANSI
echo: fidosoft.husky
to: Matt Bedynek
from: Michael Dukelsky
date: 2015-07-08 09:45:12
subject: perl

Hello Matt,

Tuesday July 07 2015, Matt Bedynek wrote to Michael Dukelsky:

 MD>> Google does not find fts_date at perl.org. That means it was
 MD>> deprecated before Perl 5.004, that is before 1997.

 MB> I believe it is a function with hpt that was deprecated.  From the
 MB> example filter.pl:

 MB> # fts2date(fts1)
 MB> # converts date in fts-1 format string to unixtime

Now I understand.

 MB> fts2date does not exist but fts_date does

Really? Please tell me the filename and line number. In the sources I have
I cannot find such a function.

 MB> and works

Hm-m.

 MB> but you receive a
 MB> log message indicating to use the "numeric" which I am
not sure what
 MB> that means.  I might try looking through the source code to see if
 MB> there is another way to call it.

What do you want? If you want just unixtime in a perl hook, you may use
time(). If you want to convert the time read from a message to unixtime,
you may use mktime from the POSIX module (perldoc POSIX).

Michael

... node (at) f1042 (dot) ru
--- GoldED+/LNX 1.1.5-b20100314
* Origin: Moscow, Russia (2:5020/1042)
SEEN-BY: 109/500 116/116 120/544 123/5 52 57 140 500 789 6502 124/5013 5014
SEEN-BY: 135/371 138/146 140/1 153/757 7715 154/0 10 701 702 203/0 221/0
SEEN-BY: 226/600 227/51 101 201 229/426 230/0 240/1661 5832 249/303 261/38
SEEN-BY: 266/512 275/100 280/464 5003 288/34 292/854 320/119 322/759 342/11 77
SEEN-BY: 423/120 463/68 633/267 280 640/384 712/550 848 770/1 3634/12 5000/111
SEEN-BY: 5005/49 5010/352 5019/40 5020/828 846 1042 2323 4441 8080 5030/830
SEEN-BY: 5053/7 5057/70 5080/68 102 5083/444 6070/109
@PATH: 5020/1042 140/1 123/500 154/10 280/464 712/848 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.