in reply to Re: How do I determine if a variable contains a type glob?
in thread How do I determine if a variable contains a type glob?
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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: How do I determine if a variable contains a type glob?
by shmem (Chancellor) on Dec 06, 2016 at 22:41 UTC |