Error header 1 - perl must have content and/or whitespace

Hello,

I have a question where i ask the respondents if the information which I have of them is correct:

Volgens uw eerdere opgave (medio maart) doet uw school mee aan de pilot met: <br />

[%Begin Unverified Perl

my $passIn = GETVALUE('[% nt1 %]');

if ($passIn eq '0') {

return '';

}

else {

return '• [% nt1 %] leerlingen voor het Staatsexamen Nt2 programma I<br />'

}

End Unverified %]

[% Begin Unverified Perl

my $passIn = GETVALUE('[% nt2 %]');

if ($passIn eq '0') {

return '';

}

else {

return '• [% nt2 %] leerlingen voor het Staatsexamen Nt2 programma II<br />'

}

End Unverified %]

[% Begin Unverified Perl

my $passIn = GETVALUE('[% edup %]');

if ($passIn eq '0') {

return '';

}

else {

return '• [% edup %] leerlingen voor het EDUP examen<br />'

}

End Unverified %]

If the pass-in field is equal to zero i want to skip that line. If the pass-in field has a value I want to show this to the respondent. The pass in field is linked whole number. I get the following error: Header 1 - Perl must have content and/or whitespace (e.g., space, new line, or tab) between begin Unevirfied Perl and End Univerified. The end block 'End Unverified may also be missing. Do you know why I have this error?

Kind regards,

Tamara

4 replies