http://www.perlmonks.org?node_id=1044138


in reply to rotating cube.

As hdb said, use warnings; helps spot errors at compile time.

use strict; is similarly very useful.

Most programs start with:
#!/usr/bin/perl use strict; use warnings;