If you want to represent quotation marks inside a
quotation-mark-delimited field, escape them with backslashes (eg,
-C<"like \"this\""). Unescaping them is a task addressed earlier in
+C<"like \"this\"">. Unescaping them is a task addressed earlier in
this section.
Alternatively, the Text::ParseWords module (part of the standard perl
@articles = ( 1..10, 150..2000, 2017 );
undef $read;
- grep (vec($read,$_,1) = 1, @articles);
+ for (@articles) { vec($read,$_,1) = 1 }
Now check whether C<vec($read,$n,1)> is true for some C<$n>.