sub versive { # some pushups while ( my ($key,$value)= each %data ) { # process things } # }