http://www.perlmonks.org?node_id=273485


in reply to Re: using arrays insteaed of files
in thread using arrays insteaed of files

Hi, It looks like it is actually expecting a filename.
open(DATABASE, "$database"); while (<DATABASE>) {}

The file has a list of names. I guess the question how do I get the sub to look for an @array that contains a list of names instead.