Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add lots of libraries for netdb project #134

Open
snoopyjc opened this issue Nov 3, 2022 · 1 comment
Open

Add lots of libraries for netdb project #134

snoopyjc opened this issue Nov 3, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@snoopyjc
Copy link
Owner

snoopyjc commented Nov 3, 2022

Add lots of libraries for netdb project:

use Algorithm::Diff qw(traverse_balanced);
✔️use builtin 'blessed';
use Carp::Clan qe(^Date::);   # Used by Date::Calc
✔️use CGI qw/:standard -nph/;
✔️use CGI::Carp;
✔️use CGI::Cookie;
use Crypt::Tea_JS;
use DBI;
use DB_File;
use Date::Calc qw( :all);
use Date::Calc qw( Add_Delta_Days );
use Date::Manip;
use Digest::MD5 qw(md5_hex);
use Digest::SHA1 qw(sha1_hex);
✔️use Encode;    # require Encode; in CGI.pm; they use Encode::is_utf8 and Encode::decode
use Encode qw(encode_utf8 from_to find_encoding decode _utf8_off _utf8_on is_utf8);  # used in Date::Manip::Base
✔️use Env;
use Excel::Writer::XLSX;
use File::Copy;
use File::Find;    # Used by Date::Manip
use GD::Graph::area;
use GD::Graph::lines;
use GD::Graph::bars;
✔️use HTML::Entities;
use IO::Socket::SSL;
use Java;
use JSON;
✔️use List::Util qw(max);    # Used in issue_s237.pl
use LWP::UserAgent;
use Linux::Distribution qw(distribution_name);
use MIME::Lite;
use Net::IP;    #for ipv6
use Net::SFTP::Foreign;
use Net::SMTP;
✔️use overload;    # overload::Method (used by File::Copy)
use Router::Cisco::Conf;
use Sleepycat::DbXml 'simple';   # See https://github.com/berkeleydb/dbxml
use Spreadsheet::ParseExcel;
use Spreadsheet::WriteExcel;
use Spreadsheet::XLSX;
✔️use Sub::Util;
use Sys::Syslog qw(:DEFAULT setlogsock);
use Sys::Syslog;
use threads;    # SEE NOTE BELOW!
✔️use Text::ParseWords;   # require Text::ParseWords in CGI.pm
✔️use Time::HiRes qw(usleep nanosleep stat utime);
✔️use Time::localtime;
use XML::Hash::XS;
use XML::LibXML;
use XML::Simple qw(:strict);
use diagnostics;
✔️use integer;
✔️use parent;  # Used by CGI.Util
use warnings::register;    # Used by File::Find

✔️PerlIO::get_layers  # Referenced w/o 'use' in CGI.pm
✔️utf8::encode, utf8::is_utf8, utf8::unicode_to_native, utf8::native_to_unicode # References w/o 'use' in bytes.pm, CGI/Util.pm, and Encode.pm
@snoopyjc snoopyjc added the enhancement New feature or request label Nov 3, 2022
@snoopyjc
Copy link
Owner Author

snoopyjc commented Nov 30, 2022

REMINDER: Add a thread_id to the builtins.__outpN__ when implementing threads. Or better yet, swap out _fetch_out_parameter, _init_out_parameters, and _store_out_parameter to thread safe versions if the program uses threads. If we implement threads using multi-processing, then we don't need to do this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant