A variable never contains a type glob. It either is a typeglob by itself
Not so. Scalars can contain globs.
my $fh = *STDOUT;
Globs can also also contain other globs. (The slot is named GLOB.) That's how subpackages are stored.
In reply to Re^2: How do I determine if a variable contains a type glob?
by ikegami
in thread How do I determine if a variable contains a type glob?
by dpchrist
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |