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
In reply to Re^3: how do I get the contents of different files pushed to an array?
by ww
in thread How do I get different files into an array
by amagana
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |