Skip to Content.
Sympa Menu

devel - [sympa-developpers] Path::Tiny as dependency ?

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: Marc Chantreux <address@concealed>
  • To: address@concealed
  • Subject: [sympa-developpers] Path::Tiny as dependency ?
  • Date: Wed, 28 Feb 2018 11:56:00 +0100

hello sympa,

As i started to refactor Bulk, i quickly made my path to
Sympa::Tools::File. A lot of code can be deleted by using Path::Tiny
instead of this homebrew code. this will save a load of code

there should be 30 impacted files and i plane to:

What do you think?

src/sbin/task_manager.pl.in
src/cgi/wwsympa.fcgi.in
src/bin/upgrade_shared_repository.pl.in
src/bin/tpl2tt2.pl.in
src/lib/Conf.pm
src/lib/Sympa/Archive.pm
src/lib/Sympa/Internals.pod
src/lib/Sympa/List.pm
src/lib/Sympa/Topic.pm
src/lib/Sympa/Spool.pm
src/lib/Sympa/Robot.pm
src/lib/Sympa/Request/Handler/move_list.pm
src/lib/Sympa/Request/Handler/close_list.pm
src/lib/Sympa/Request/Handler/open_list.pm
src/lib/Sympa/Process.pm
src/lib/Sympa/Spindle/ProcessArchive.pm
src/lib/Sympa/Tracking.pm
src/lib/Sympa/Family.pm
src/lib/Sympa/Scenario.pm
src/lib/Sympa/Bulk.pm
src/lib/Sympa/Spool/Digest/Collection.pm
src/lib/Sympa/Spool/Incoming.pm
src/lib/Sympa/Spool/Moderation.pm
src/lib/Sympa/SharedDocument.pm
src/lib/Sympa/Tools/File.pm
src/lib/Sympa/Tools/WWW.pm
src/lib/Sympa/Upgrade.pm
src/lib/Sympa/Message.pm
t/Tools_SMIME.t
t/tools_file.t

as example, the attachment is the code i get after refactoring.

regards,
marc



Archive powered by MHonArc 2.6.19+.

Top of Page