AnyEvent-App-PerlLive
view release on metacpan or search on metacpan
perl-live-mcp.pl view on Meta::CPAN
description => 'Evaluate Perl code inside the persistent live interpreter session. Package variables, declared subroutines, and pragmas persist across calls without shell overhead.',
inputSchema => {
type => 'object',
properties => {
code => {
type => 'string',
description => 'Perl source code to evaluate.',
},
timeout => {
type => 'number',
description => 'Timeout in seconds (default: 15). Interrupts evaluation cleanly if exceeded without losing session state.',
},
file => {
type => 'string',
description => 'Optional virtual or source filename for diagnostics (default: "(perl live)").',
},
line => {
type => 'integer',
description => 'Optional starting line number for diagnostics (default: 1).',
},
},
( run in 1.123 second using v1.01-cache-2.11-cpan-234fa220139 )