http://qs321.pair.com?node_id=173042


in reply to Re: Help
in thread Edit array in place (was: Help)

And the question is?

What's causing the error? A missing right curly or square bracket at line 495 seems more than descriptive.

You should be aware that it might not be located exactly at line 495.

sub name { }

You ought to read perlstyle and improve the readability of your code (it'll help you spot errors like these almost instantly).

Here is a good read on debugging (link care of jepri ).

update: I don't know what a "certain" array is, but i'd suggest you check out perlfunc:undef and perldata (perlfunc:delete is not what you're looking for).

 
______crazyinsomniac_____________________________
Of all the things I've lost, I miss my mind the most.
perl -e "$q=$_;map({chr unpack qq;H*;,$_}split(q;;,q*H*));print;$q/$q;"