[comp.lang.perl] Question

przemek@rrdstrad.nist.gov (Przemek Klosowski) (04/12/91)

I am just starting to use Perl. I would like to learn the `proper' way
to use Perl, so before I start hacking away, I thought I would ask the
gurus for the clean approach to my problem: a script to load huge
amount of fonts to the printer. The fonts exist in a directory, and
they have to be downloaded to the printer under a unique index number,
provided by a file with font names/magnifications and corresponding index
numbers. So my in my script I could search the index file for each
filename; I suspect that it could be done with the associative array, 
somehow like that:

	index = index_array[Font_Name_and_Magn]

but I couldn't figure out how to initialize this array and then switch
input streams to read the filenames. The Perl manual is SOOO terse.

	Thank you for your help
			przemek
--
			przemek klosowski (przemek@ndcvx.cc.nd.edu)
			Physics Department
			University of Notre Dame IN 46556