** got it! **
Glad to hear it.
** <% next if ($EVENT->{details}->{'security'} eq "hidden" ... **
So it was printing out "hidden" and not "Hidden" (which is what your original conditional statement was checking for)? I mentioned that possibility in my very first reply to you.
** thought that next if statement, when it goes to the 'next', the 'next' isnt the next line, its the next statement. **
I'm not sure what you're trying to say there. The "next" statement means start the next iteration of the loop... from the beginning (usually with a new variable to work on).
** it skips code... **
Right. It skips all other statements in the loop and starts again from the top of the loop with the next item being looped through.
You might want to check out "Perl Tutorial: Start" although I don't think they touch upon the 'next' statement. That is covered here: Control Structures - for, foreach, while, if. They might help you to better understand what's going on in the Perl code?
JMO
Dan O.
------------------