develooper Front page | perl.perl5.porters | Postings from October 2003

Re: [perl #24139] Symbol Table entry always return defined for {SCALAR}!!!

Thread Previous | Thread Next
From:
Yitzchak Scott-Thoennes
Date:
October 7, 2003 04:27
Subject:
Re: [perl #24139] Symbol Table entry always return defined for {SCALAR}!!!
Message ID:
20031007112638.GA3396@efn.org
On Tue, Oct 07, 2003 at 03:39:15AM -0700, Yitzchak Scott-Thoennes <sthoenna@efn.org> wrote:
> You can check if a glob *foo::bar exists with something like:
> if ( exists($foo::{bar}) && \$foo::{bar} eq 'GLOB' )

I meant:
 if ( exists($foo::{bar}) && ref \$foo::{bar} eq 'GLOB' )

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About