sub is_const { defined($_[0]) and !eval { ($_[0]) = $_[0]; 1 } }
In reply to Re: Re: Re: Re: Detecting constant arguments passed to subroutines
by japhy
in thread Detecting constant arguments passed to subroutines
by dcd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |