#!/usr/bin/perl
#
# Il numero di partenza viene fornito come costante.
#
$numero = 5;
$cont = $numero -1;
while ($cont)
{
$numero *= $cont;
$cont--;
}
print "Il fattoriale รจ $numero.\n";
IyEvdXNyL2Jpbi9wZXJsCiMKIyBJbCBudW1lcm8gZGkgcGFydGVuemEgdmllbmUgZm9ybml0byBjb21lIGNvc3RhbnRlLgojCiRudW1lcm8gPSA1OwokY29udCA9ICRudW1lcm8gLTE7CndoaWxlICgkY29udCkKICB7CiAgICAkbnVtZXJvICo9ICRjb250OwogICAgJGNvbnQtLTsKICB9CnByaW50ICJJbCBmYXR0b3JpYWxlIMOoICRudW1lcm8uXG4iOwo=