#!/usr/bin/perl
sub alterazione_array
{
$a[0] = 1;
$a[1] = 2;
}
$b[0] = 9;
$b[1] = 8;
$b[2] = 7;
&alterazione_array (\@b);
print STDOUT $b[0] . " " . $b[1] . " " . $b[2] . "\n";
IyEvdXNyL2Jpbi9wZXJsCnN1YiBhbHRlcmF6aW9uZV9hcnJheQp7CiAgbG9jYWwgKCphKSA9ICRfWzBdOwogICRhWzBdID0gMTsKICAkYVsxXSA9IDI7Cn0KCmxvY2FsICgkYikgPSAoKTsKCiRiWzBdID0gOTsKJGJbMV0gPSA4OwokYlsyXSA9IDc7CgomYWx0ZXJhemlvbmVfYXJyYXkgKFxAYik7CgpwcmludCBTVERPVVQgJGJbMF0gLiAiICIgLiAkYlsxXSAuICIgIiAuICRiWzJdIC4gIlxuIjsK