diff options
author | Yves Orton <demerphq@gmail.com> | 2022-08-11 15:17:47 +0200 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2022-08-21 12:09:05 +0200 |
commit | 1d05cb2fcb312142bb5b8f4a3a34712a0a82f442 (patch) | |
tree | 971c9395e671189abfa6bd58bc271eac1e1df24e /Porting/updateAUTHORS.pl | |
parent | 7a7c2839ff6f7525cc5f6af38dff88ffd3f9cf0e (diff) | |
download | perl-1d05cb2fcb312142bb5b8f4a3a34712a0a82f442.tar.gz |
updateAUTHORS.pm - use object to store state and avoid passing args
It is much cleaner when the object stores its state internally. That
way we don't have to adjust the transitive caller graph when we need
something new.
Also normalize some var names, we were using "author_info" and
"authors_info" in a way that was confusing, now it is consistently
"author_info".
Diffstat (limited to 'Porting/updateAUTHORS.pl')
-rwxr-xr-x | Porting/updateAUTHORS.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Porting/updateAUTHORS.pl b/Porting/updateAUTHORS.pl index 5edba2e9a0..7cfb674958 100755 --- a/Porting/updateAUTHORS.pl +++ b/Porting/updateAUTHORS.pl @@ -38,7 +38,8 @@ sub main { mailmap_file => $mailmap_file, ); - $self->read_and_update($authors_file, $mailmap_file); + $self->read_and_update(); + return 0; # 0 for no error - intended for exit(); } |