J
jonnytheclown
Is there an easy way to test if a subroutine argument is a constant.
I know it can be done by trying to assign to the specific element in @_
within an eval and testing for an exception but this is a tad ugly -
not to mention inefficient.
I know it can be done by trying to assign to the specific element in @_
within an eval and testing for an exception but this is a tad ugly -
not to mention inefficient.