pp -o outfile.exe infile.pl # or under windows only, e.g with Tk (to remove the dos window) pp --gui -o outfile.exe infile.pl