Update fountain.pl

Improved coding practice