but boss needs to get hostname and dirs from file like so.my @mshost1 = ( "msservername", "/local/p0/home/glosefob", "/var/spool/cron/crontabs", "/local/p0/home/admin/service.etc" ); sub get_dir { $client = shift(@mshost1); @dir = @mshost1; backup($client); }
In reply to Re^4: Read File into array and split
by tokyobuddha
in thread Read File into array and split
by tokyobuddha
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |