Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Lost in doc

by snadra (Scribe)
on Aug 11, 2003 at 09:12 UTC ( #282794=note: print w/ replies, xml ) Need Help??


in reply to Lost in doc

Hello,

if you are using square brackets, you are creating a reference. To create an anonymous array ref do this:

$arrayref = ['a', 'b', 'c'];
To find out more about references, read:
perldoc perlref
Or the short version of perlref, wich only contains the very neccessary information:
perldoc perlreftut

snadra


Comment on Re: Lost in doc
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (14)
As of 2015-07-28 22:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (260 votes), past polls