Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: Array got modified!

by BrowserUk (Pope)
on Oct 10, 2011 at 03:36 UTC ( #930526=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Array got modified!
in thread Array got modified!

What is the point in editing $ele, if you then discard it?


Comment on Re^3: Array got modified!
Download Code
Re^4: Array got modified!
by exilepanda (Monk) on Oct 10, 2011 at 03:54 UTC
    haha.. sorry I mislead something... In general to say, I am not trying to edit the array, I just want to loop through and read the array

    By all means, I have to pick elements out, one by one, change to some expected pattern, then throw it to other subs to do something( which I didn't state in the code ).

    Also, it implies that, I will reuse the created array again, so that I don't want it changed.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2015-07-03 03:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (48 votes), past polls