[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl-AnyPerl] FOO? (was 'using DATA for testing')




>At 14:52 -0400 1999.08.11, Paul Corr wrote:
>>	*INPUT = *DATA{GLOB};
>>
>>I understand these are typeglobs but where does 'GLOB' come from? Is
>>it some sort of reserved word like DATA? Is this in a POD somewhere?
>>I see STDIN, STDOUT, and STDERR in perlop.pod (and numerous books.)
>>DATA I picked up in my list reading. Is it documented somewhere?
>
>I am not sure where it is documented, but it is known.
>
>Basically, every typeglob (like *FOO) has several parts to it, which may or
>may not be filled.  The array part of a typeglob is called ARRAY, the
>scalar is called SCALAR, and so on.  For instance, to get the SCALAR value
>of *FOO, you can do:
>


What I've always wondered is where did 'FOO' and 'BAR' come from?

David Seay
http://www.mastercall.com/g-s



==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-anyperl-request@macperl.org