Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: Clearing Array Values

by screamingeagle (Curate)
on Feb 09, 2002 at 05:11 UTC ( #144320=note: print w/replies, xml ) Need Help??

in reply to Clearing Array Values

well, in my opinion, one would be better off using :
@myarray = ();
When you use
$#myarray = ()
you are referring to the number of elements in the array, not the array itself, since $#myarray gets the number of array elements present

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://144320]
[marto]: hopefully everyone had a good weekend
[Discipulus]: yees.. masonry, shaving of the ceiling (dunno if shaving is the right term..) 20hours in the weekend.. so veery good ;=)
[LanX]: yes I worked ...
[LanX]: ... and hope to get a free work day in compensation. :)

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2018-02-19 10:22 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (260 votes). Check out past polls.