in reply to can has ELI5 namespace::autoclean pls?

But be careful, sometimes namespace::autoclean doesn't work as one would think.

tl;dr: namespace::autoclean relies on Class::MOP::Class::get_method_list to get the list of methods and removes everything else from the namespace. Unfortunately, the subroutine lists e.g. constants imported from the POSIX module. So, using namespace::clean, which is more explicit, might be cleaner (no pun intended).

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]