Starting from commandline.pl example