Re: HoH is there a better way?

2004-11-10 Thread Richard Kofler
split; ^^^ I love this part! Looks like magic to me :-) Indeed, this is a fascinating functionality of Perl! I found it reading up about hash slices and array slices, see the commented lines labelled xmpl in my original posting dic_k -- Richard Kofler SOLID S

Re: HoH is there a better way?

2004-11-10 Thread Richard Kofler
; last if $. > 10; > } > \%tih; > } > > TMTOWTDI :) > > -- > Gunnar Hjalmarsson > Email: http://www.gunnar.cc/cgi-bin/contact.pl Thank you for the refactoring. Seems it is time for me to get rid of my FORTRAN II habits :) dic_k -- Richard Kofler SOLI

Re: HoH is there a better way?

2004-11-10 Thread Richard Kofler
ng out an element from a hash. [ ... AoH approach snipped ... ]> > # To get the 'big picture': > use Data::Dumper; > print Dumper [EMAIL PROTECTED]; Thank you for pointing me to Data::Dumper! A very valuable hint, indeed. dic_k -- Richard Kofler SOLID STATE EDV Diens

HoH is there a better way?

2004-11-09 Thread Richard Kofler
0 305 index04 1 4442 4386 0 027 index05 1 1318973 0 0 149 __END__ Resulting output is: $ ./process_tabinfo_V01_dos.pl table01/npdata: 1653131 table02/npused: 12513173 Thank you for