in reply to Re^3: Read File into array and split
in thread Read File into array and split
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); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Read File into array and split
by hipowls (Curate) on Mar 08, 2008 at 00:01 UTC |