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

Re: Re: passing a value to a function

by busunsl (Vicar)
on Jun 26, 2001 at 14:33 UTC ( [id://91541]=note: print w/replies, xml ) Need Help??


in reply to Re: passing a value to a function
in thread passing a value to a function

$array = [ ] ;
is sufficient. This will effectively "clear" the array.

Nope, it will not clear the array!
Instead it will create a new, empty anonymous array and store a reference to that in $array.

Log In?
Username:
Password:

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

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

    No recent polls found