Front page | perl.beginners |
Postings from September 2009
push and split
Thread Next
From:
Noah Garrett Wallach
Date:
September 17, 2009 11:05
Subject:
push and split
Message ID:
4AB27A5F.4000300@enabled.com
Hi there,
I am attempting to read a text file in to two array variables.
--- text file ---
hostname1 ip1
hostname2 ip2
--- text file ---
so basically I would like to have the items in column become an the
elements of an array @routers
and then the items in column two in an array variable of @ips
I suppose I could use split and push to do that but how?
Thread Next
-
push and split
by Noah Garrett Wallach