#!/usr/bin/perl ################################################################## # This simple perl script will convert your 1.2 custom words # to a 1.3 hangman file type # # place this in the same directory as hangman.1.2 ################################################################## ## require "hangman.1.2.pl"; # perl 5 may need the above line changed to # require "./hangman.1.2.pl"; ##################################################################### open (O,">hangman_words"); foreach (@word_list) { print O "$_\n"; } close (O);