in reply to Re^2: How do I determine if a variable contains a type glob?
in thread How do I determine if a variable contains a type glob?
That, and if someone tricks you there
$ perl -wE'my $foo = bless [],"GLOB"; say ref $_ for $foo, \*ARGV' GLOB GLOB $ perl -MScalar::Util=reftype -wE'my $foo = bless [],"GLOB"; say refty +pe $_ for $foo, \*ARGV' ARRAY GLOB
|
|---|