Perl module that implements lazy arguments for subroutines