Hi I'm wondering why you want another way, as this is slower than it needs to be but shouldn't cause any problems, but you can just do:
if (%hash) { : } which is neater. HTH, Rob "Nyimi Jose" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello, > > If(keys %hash){ > #do ... > } > > Could you suggest an other way, please ? > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]