I know this is dirty, and incomplete. You can check
%INC to see if less has been used (just not how). I do agree a good use for less would be something like a
@less::requested var to let modules check what was requested less of. This would allow for a standard interface rather than an
qw(less_memory) here and a
qw(lite) there. Something a bit more standard, and a little less author's choice. Not that this comes up often, but when else do a half dozen line make such a diffrence ?
Just my €0.02
from the frivolous to the serious