ok... scalar (@array); scalar (%hash); can be used to get the number of elements.
> -----Ursprüngliche Nachricht----- > Von: Angerstein [mailto:[EMAIL PROTECTED]] > Gesendet am: Freitag, 20. September 2002 11:12 > An: [EMAIL PROTECTED] > Betreff: Arg... what about $#hash $#array > > I noticed if I want to print out the number of elements which should be > stored in $#hash, > but if i print it out i just get -1 !! > > What else can i do??? > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]