Using modulo in Perl for list build

I frequently use RespNum() and MOD in my skip logic to achieve a split between respondents but am trying to use that same logic in PERL to create a list of question items. Possible?

I imagine it being something like this:

if(VALUE(RespNum() MOD 2)==0)

Resolved
3 replies