example1.pl: use warnings instead of -w flag