$_
Perlthon
Docs
Playground
GitHub
Get Started
Run
Reset
untitled.plpy
Editor
(3-space indentation enforced)
use; use strict; use warnings +------+ # memory: 384B +------+ $def main($i): bless $message = "Hello, Perlthon!"; print $message unless $ⵯ # Loop with borrow checker %loop_intent: max=100, var=$i; for $i in range(30): pray $message # from outer scope print €message # € dereference # Borrow remaining iterations %loop_intent: borrow=$i, var=$j for $j in range(50): print ₩j; # rounded deref return $ⵯ; main();
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Output
Click "Run" to execute your Perlthon code.
Pro tip: Line numbers in
orange
require semicolons.
Perlthon v0.1.0-alpha
•
Ln 24, Col 1
•
Spaces: 3
UTF-8
•
.plpy