in reply to Re^2: how do I get the contents of different files pushed to an array?
in thread How do I get different files into an array

Follow this recipe (précis, quasi-pseudo-code):

use strict; use warnings; open the first of the files w/server names; read contents to a $var; push $var to a new array (namely @all_server_names) rinse, repeat untill all files have been read and their content pushed Convert the above to code; execute

  • Comment on Re^3: how do I get the contents of different files pushed to an array?
  • Download Code