PoPL/04_semantics_and_running/examples/var.ph

10 lines
138 B
Perl

var foo = 20
var bar = 10
print foo + bar,
print foo - bar,
print foo * bar,
print foo / bar,
print (foo + (foo + (foo + (foo + bar))))