Online Perl Editor.
Write, refactor, and download Perl source in the browser with completions, find, and format helpers.
Completions appear as you type; press Ctrl+Space to open the list. Tab expands snippets where available. Find: Ctrl+F (Cmd+F on Mac). Format: toolbar button or Ctrl+Shift+B for supported languages.
Choose editor font size in pixels
Write, refactor, and download Perl source in the browser with completions, find, and format helpers.
Module export
// Perl
export function normalize(rows) {
return rows.map((r) => ({ id: String(r.id), ok: Boolean(r.ok) }));
}Async I/O
async function readConfig(path) {
const raw = await readFile(path, 'utf8');
return JSON.parse(raw);
} Bindings
const limit = 25;
let cursor = 0;
var legacy = true; // avoid in new codeLoops
for (const item of list) {
work(item);
}
while (cursor < limit) { cursor++; }Functions
function slugify(input) {
return input.trim().toLowerCase().replace(/\s+/g, '-');
}Comments
// line
/* block */ Parse → transform → emit
// Perl pipeline sketch
const input = readLines();
const output = input
.map(line => line.trim())
.filter(Boolean)
.map(transform);
writeLines(output);Error handling wrapper
// Perl
function runSafely(task) {
try {
return { ok: true, value: task() };
} catch (err) {
return { ok: false, error: String(err) };
}
} - Does Perl code run on ConversionTab servers?
- No. Editing happens in your browser. Download the file and run it in your usual compiler, runtime, or platform.
- Can I change theme and font size?
- Yes. Use the toolbar above the editor; choices persist in local storage for your browser profile.