home bbs files messages ]

Just a sample of the Echomail archive

Cooperative anarchy at its finest, still active today. Darkrealms is the Zone 1 Hub.

   PERL      Support for the Perl scripting language      79 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 8 of 79   
   Jame Clay to Maurice Kinal   
   FTN::Packet   
   06 Jul 11 18:38:56   
   
   Hi Maurice!   
      
   Jame Clay wrote in the LINUX echo:   
   >Maurice Kinal wrote in the LINUX echo:   
   > In FTN-Packet-0.09, I don't see where the FTN compliant month is taken   
   > care of and from what I see in Packet.pm the call to localtime() will   
   > yeild an integer month that conforms to every standard EXCEPT FTN which   
   > subtracts one from the value for month.   
      
       Perhaps I'm missreading it, but it seems to me that the month value in an   
   ftsc compatible date is zero based...   
      
      
   >  In a bash script I've done this   
   > to take care of this extremely sad situation;   
   > PKT_HDR_MONTH=$((`date +"%m"`-1))   
   > For July that will yeild 6 which for everyone else will be June.   
      
      Hmm...  Although the date command as used there returns the month as a 1   
   based integer, the localtime function itself returns it as a zero based   
   integer.     
      
      
   > Apparently the FTSC is wiser than the usual suspects who write   
   > standards.  :::snicker:::   
      
         Even if it is an actual issue, a zero based index is just as valid   
   as a 1 based index...   
      
      
   >  Other that that I see no issues with this particular module ....   
      
       If you or anyone else do find such issues, please comment on it, preferably   
   in the PERL echo...   
      
      
      
      
   Jame   
      
   --- BBBS/LiI v4.01 Flag   
    * Origin: Rocasa BBS (1:120/546)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca