Range (computer programming): Difference between revisions

Content deleted Content added
Range as a operator: correct Perl syntax.
Line 94:
and [[Perl]].<ref>{{cite web|access-date=2025-02-22|title=perlop - Perl expressions: operators, precedence, string literals - Perldoc Browser|url=https://perldoc.perl.org/perlop#Range-Operators|website=perldoc.perl.org}}</ref>
<syntaxhighlight lang="Perl">
for (i in 1..5) { print(i) }
</syntaxhighlight>