Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Lost in doc

by snadra (Scribe)
on Aug 11, 2003 at 09:12 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://282794]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-04-25 16:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found