Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Re: Re: Re: Why the error?

by Ido (Hermit)
on Mar 10, 2001 at 15:47 UTC ( [id://63461]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Why the error?
in thread Why the error?

Ummm... * is a typeglob, which means in a way "Everything named ...". So *foo is everything named foo: $foo,@foo,%foo,&foo,the fh foo, and the format foo,(I'm sure I missed something,,but don't know what.) \*foo is a reference to the typeglob. A typeglob or a ref to it, can be used as an "indirect filehandle". Typeglobs are also used to create aliases:
*foo=*bar; #Now everything named bar is also named foo *fooo=\$barr #now $fooo is an alias to $barr
And to create a refernce using the *foo{THING} thing which is explained in perlref(As the 7th way to create a reference). For more about typeglobs, read perldata.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://63461]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-25 23:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found