Execute a Markov algorithm: Difference between revisions

m
→‎{{header|Perl}}: If we can't have 'qq', double quotes with backslashes will do.
(added comments to turing ruleset)
m (→‎{{header|Perl}}: If we can't have 'qq', double quotes with backslashes will do.)
Line 509:
 
<lang perl>@ARGV == 1 or die "Please provide exactly one source file as an argument.\n";
open my $source, '<', $ARGV[0] or die ("I couldn't open \"" . $ARGV[0] . "\" for reading. ($!.)\n");
my @rules;
while (<$source>)
845

edits