Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://282794]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2017-02-23 10:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (343 votes). Check out past polls.