Why are you using a regular expression match, rather than string equality 'eq'?
ref( \$_[0] ) =~ m[GLOB]
In reply to Re^4: How do I determine if a variable contains a type glob?
by dpchrist
in thread How do I determine if a variable contains a type glob?
by dpchrist
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |