Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Perl Misc (http://www.velocityreviews.com/forums/f67-perl-misc.html)
-   -   What is a glob variable? (http://www.velocityreviews.com/forums/t900838-what-is-a-glob-variable.html)

perlster 11-29-2006 01:29 PM

What is a glob variable?
 
Hi.....

I ran across this example code the other day

sub my_sub(*some_var);

Where in perldoc would I find documentation
on this *some_var? TIA....
--
dn

anno4000@radom.zrz.tu-berlin.de 11-29-2006 02:59 PM

Re: What is a glob variable?
 
perlster <perlster@phenix.rootshell.be> wrote in comp.lang.perl.misc:
> Hi.....
>
> I ran across this example code the other day
>
> sub my_sub(*some_var);
>
> Where in perldoc would I find documentation
> on this *some_var? TIA....


perldoc perldata, and look for "typeglob". Or wait for Ferry Bolhar's
extensive perlglobtut, but that will be a while.

Anno

Merrilee Larson 11-29-2006 08:22 PM

Re: What is a glob variable?
 
On 2006-11-29, anno4000@radom.zrz.tu-berlin.de <anno4000@radom.zrz.tu-berlin.de>
wrote:
> perlster <perlster@phenix.rootshell.be> wrote in comp.lang.perl.misc:
>> Hi.....
>>
>> I ran across this example code the other day
>>
>> sub my_sub(*some_var);
>>
>> Where in perldoc would I find documentation
>> on this *some_var? TIA....

>
> perldoc perldata, and look for "typeglob". Or wait for Ferry Bolhar's
> extensive perlglobtut, but that will be a while.
>
> Anno


Thank you!
--
duke

brian d foy 11-30-2006 06:22 PM

Re: What is a glob variable?
 
In article <slrnemr2qk.ons.perlster@phenix.rootshell.be>, perlster
<perlster@phenix.rootshell.be> wrote:

>
> sub my_sub(*some_var);
>
> Where in perldoc would I find documentation
> on this *some_var? TIA....


There's a chapter in Advanced Perl Programming (First Edition) that
explains typeglobs, and I've recreated most of that for _Mastering
Perl_:

http://www252.pair.com/comdog/master...ymbol_tables.h
tml

--
Posted via a free Usenet account from http://www.teranews.com


Merrilee Larson 12-01-2006 03:39 AM

Re: What is a glob variable?
 
On 2006-11-30, brian d foy <brian.d.foy@gmail.com> wrote:
> In article <slrnemr2qk.ons.perlster@phenix.rootshell.be>, perlster
><perlster@phenix.rootshell.be> wrote:
>
>>
>> sub my_sub(*some_var);
>>
>> Where in perldoc would I find documentation
>> on this *some_var? TIA....

>
> There's a chapter in Advanced Perl Programming (First Edition) that
> explains typeglobs, and I've recreated most of that for _Mastering
> Perl_:
>
> http://www252.pair.com/comdog/master...ymbol_tables.h
> tml
>


Thank you! Good reading!
--
duke


All times are GMT. The time now is 10:40 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.