Text processing/Max licenses in use: Difference between revisions

Content added Content deleted
(Found incorrectness.)
(Found inaccuracies.)
Line 1,051: Line 1,051:


=={{header|Go}}==
=={{header|Go}}==
{{incorrect|Python|Invalid assumption of a (third party) licensing daemon. If a line is not a "IN" signal it could be a (lead or trailing) empty line or e.g. a comment, which increments the licence count! In the task description is ... is meant as any line. It not so hard to make this example more robust for all eventualities.}}
<lang go>package main
<lang go>package main


Line 1,753: Line 1,754:


=={{header|Perl 6}}==
=={{header|Perl 6}}==
{{incorrect|Python|Invalid assumption of a (third party) licensing daemon. If a line is not a "OUT" signal it could be a (lead or trailing) empty line or e.g. a comment. In the task description is ... is meant as any line. It not so hard to make this example more robust for all eventualities.}}
Redirecting the mlijobs.txt file to STDIN:
Redirecting the mlijobs.txt file to STDIN:
<lang perl6>my %licenses;
<lang perl6>my %licenses;