use strict; use File::Path; my $bin = shift @ARGV; mkpath "./examples/"; open OUT, "> ./examples/synopsis.cpr" or die "Can't open./examples/synopsis.pl for output\n"; print OUT <