in reply to
strange hash behavior
print out the values of @multy before you reverse it. I bet it is not what you expect. Your database routine is probably not returning any values.
You can reproduce your problem by setting %hash to a bunch of empty strings:
%hash = ('', '', '', '');
Comment on
Re: strange hash behavior
Download
Code
Replies are listed 'Best First'.
RE: Re: strange hash behavior
by
Eugene
(Scribe)
on May 27, 2000 at 10:50 UTC
No, prints everything corectly in the reverse order.
[reply]
RE: RE: Re: strange hash behavior
by
Eugene
(Scribe)
on May 27, 2000 at 11:17 UTC
I got. You were right. my hash looked like ('/*', '*/', '','')
Thanks.
[reply]
In Section
Seekers of Perl Wisdom