On Thu, Mar 13, 2003 at 11:31:30AM -0800, Austin Hastings wrote: : "Everyone Knows" that an Int is a Scalar, and therefore a sub that has : a Scalar parameter can safely be passed an Int. This is normal. : : What I want is the ability to do the opposite: Silence the warning that : occurs when I pass a Scalar to a sub expecting an Int.
I don't see a problem. Scalar == Int|Num|Str|Ref, so Scalar.isa("Int"). Larry