AIUI, this is the difference: given (@foo) { # this code runs exactly once, topic is @foo }
vs for (@foo) { # this code runs once per item in @foo, topic # is @foo[0], then @foo[1], etc. } So eseentially, given (@foo) means the same as Perl5 for ([EMAIL PROTECTED])