made the perl module compliant to strict mode
added the vanilla/original from ftp for reference
at a point where function conversions has to be stopped, because functions are now procedural using global variables that are not set yet. so moving down in the file to start from the functions that get called after CLI collects all the data.
get_weekday_name ported