You may want to take a look at my module Sys::Lastlog - this includes an example program plastlog that may do what you want.
/J\
In reply to Re: Reporting last login according to wtmp for selected users
by gellyfish
in thread Reporting last login according to wtmp for selected users
by cliftonsmithhp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |