This example will generate several EPS files using the data from a supplied 
text file when run like this: 

$ ./genfigs.pl figs.txt