Replay one Perl execution where a client request loads a worker response file.

Project Entry

request_client.pl
use strict;
use warnings;

my $command = ;
my $label = $command;

if ($command eq "refresh") {
    $label = "cache";
} elsif ($command eq "archive") {
    $label = "records";
}

require "./request_worker.pl";

my $response = handle_request($command);
my $ticket = 40 + length($command);

print "label=$label\n";
print "ticket=$ticket\n";
print "$response\n";
use strict;
use warnings;

my $command = ;
my $label = $command;

if ($command eq "refresh") {
    $label = "cache";
} elsif ($command eq "archive") {
    $label = "records";
}

require "./request_worker.pl";

my $response = handle_request($command);
my $ticket = 40 + length($command);

print "label=$label\n";
print "ticket=$ticket\n";
print "$response\n";
use strict;
use warnings;

my $command = ;
my $label = $command;

if ($command eq "refresh") {
    $label = "cache";
} elsif ($command eq "archive") {
    $label = "records";
}

require "./request_worker.pl";

my $response = handle_request($command);
my $ticket = 40 + length($command);

print "label=$label\n";
print "ticket=$ticket\n";
print "$response\n";
source panels When an example has more than one source file, replay keeps each file in its own panel while preserving one ordered trace stream. The Variables panel follows the actual `require` load into the worker file and the returned response back to the client.
boundary The client owns the selected command and visible output. The worker owns the response rule for that command.