in reply to Re: Detecting constant arguments passed to subroutinesin thread Detecting constant arguments passed to subroutines
sub is_const { readonly($_[0]); } sub is_const { readonly(@_); } sub is_const { readonly($_); }