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

On 7/8/2015 11:15 AM, Michael Dukelsky -> Matt Bedynek wrote:


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

The sample filter.pl included with hpt references fts2date as the function name:

filter.pl:50:# fts2date(fts1)

However, the correct name in the sources as far as I can tell is fts_date. 
The fts_date function is usage inside perl butthrows the LL_WARN notice
about being deprecated.  Mainly wanted to point out the inconsistency in
the two.

src/perl.c:710:EXTERN_C void perl_fts_date(pTHXo_ CV* cv)
src/perl.c:712:static XS(perl_fts_date)
src/perl.c:723:  w_log(LL_WARN, "fts_date() deprecated, use numeric
unixtime instead");
src/perl.c:725:  { w_log(LL_ERR, "wrong params number to fts_date
(need 1, exist %d)", items);
src/perl.c:1003:  newXS("fts_date",      perl_fts_date,      file);


I did simply write my own function to handle this.  Once I am done getting
my node fully functional.  I am more than willing to plow through things
and provide feed back to things I saw... even help with documentation if
needed.

--- Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.
* Origin: *** nntp://rbb.bbs.fi *** Lake Ylo *** Finland *** (2:221/361)
SEEN-BY: 221/1 633/267 280 640/384 1384 712/550 848 770/1
@PATH: 221/360 1 640/384 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™.