Re: piece of Perl code needed for tracking clicks

2008-12-09 Thread Terry Grant
or die ("Could not open!"); $num_hits = ; close COUNT; $num_hits++; open COUNT, ">$counter_log" or die ("Could not open file for writing!"); print COUNT $num_hits; close COUNT; -Terry Grant -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: removing an arbitrary element from array

2008-12-05 Thread Terry Grant
t). Then if you needed all of that data back into the original array format you could dump this hash back into the array (minus the one you removed of course). I hope this helps, provided I understood the problem correctly. If not let me know and I'll try to help further. Terry