Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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 surveying the Monastery: (15)
As of 2014-12-17 21:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (34 votes), past polls