Re: question about typeglob

2008-01-23 Thread Jeff Pang
-Original Message- >From: Enjoy_Life <[EMAIL PROTECTED]> >Sent: Jan 24, 2008 12:13 AM >To: Jeff Pang <[EMAIL PROTECTED]> >Cc: beginners@perl.org >Subject: Re: question about typeglob > >thanks to your quickly answer. > >now, i know : >>>&#

Re: question about typeglob

2008-01-23 Thread John W. Krahn
Enjoy_Life wrote: hi. Hello, i found typeglob and symbol table is quite difficult for me. so i want someone to help me on it. Get in your time machine and travel back 15 years when typeglobs and the symbol table were relevant. There is little documentation for these things as modern ver

Re: question about typeglob

2008-01-23 Thread Enjoy_Life
thanks to your quickly answer. now, i know : >>'foo' is a key in symbol table,whose corresponding value is *foo. is *foo itself a hash too? *foo{SCALAR},*foo{ARRAY}...are reference to $foo, @foo, is that right? and i want to know why *foo == *{*foo}. thanks very much. On Jan 23, 2008 11

Re: question about typeglob

2008-01-23 Thread Jeff Pang
-Original Message- >From: Enjoy_Life <[EMAIL PROTECTED]> > >$foo = "Some value"; >*foo{PACKAGE}; #(1) >*{*foo}{PACKAGE}; #(2) > >why the value of (1) and (2) are equal? This is because *foo == *{*foo}. >does that means foo is equals to *foo? > No.'foo' is a key in symbol table,