This is how you assign a value from right to left.

1
2
my $x = 1;
...

this is how you assign a value from left to right.

Perl

1
do_something(12, sub ($x) { ... });

JavaScript

1
do_something(1, function(x) { ... })

F#

1
doSomething 1 (fun x -> ... )