Re: shifting through arrays of line data

2003-03-04 Thread Deb
John W. Krahn <[EMAIL PROTECTED]> had this to say, > Ok, here it is using the code you posted elsethread. Much more elegant than mine, but by looking at the output, it's still not quite right. Note that there really is no -m option. > After running it I get this output: > > direct >

Re: shifting through arrays of line data

2003-03-04 Thread John W. Krahn
Deb wrote: > > John wrote: > > Did you try the code I posted Friday? (Message-ID: <[EMAIL PROTECTED]>) > > Thanks, yes, I did. But, the syntax was new to me, and I've been reading > up on it. I couldn't really get it to do what I want (see my previous > post to this one). But, that's probably

Re: shifting through arrays of line data

2003-03-03 Thread Deb
John wrote: > Did you try the code I posted Friday? (Message-ID: <[EMAIL PROTECTED]>) John, Thanks, yes, I did. But, the syntax was new to me, and I've been reading up on it. I couldn't really get it to do what I want (see my previous post to this one). But, that's probably b/c I didn't expl

Re: shifting through arrays of line data

2003-03-02 Thread R. Joseph Newton
Deb wrote: > This (code below) makes sense to me, but I was talking this over with a > co-worker on Friday, and then I tried putting together some 2-dimensional > hashes - which hurts my head at the moment. Hi Deb Actually, the hash hee--so far, anyway--is not two-dimensional. More later > So

RE: shifting through arrays of line data

2003-03-01 Thread Beau E. Cox
Hi Deb - > -Original Message- > From: Deb [mailto:[EMAIL PROTECTED] > Sent: Saturday, March 01, 2003 7:17 PM > To: R. Joseph Newton; Perl List > Subject: Re: shifting through arrays of line data > > > This (code below) makes sense to me, but I was talking this ov

Re: shifting through arrays of line data

2003-03-01 Thread Deb
This (code below) makes sense to me, but I was talking this over with a co-worker on Friday, and then I tried putting together some 2-dimensional hashes - which hurts my head at the moment. So I went to perl.plover.com/FAQs to read (again) his article on references, and I still have a mental block

Re: shifting through arrays of line data

2003-02-28 Thread R. Joseph Newton
Deb wrote: > Hi Guys, > > I have an array in which each element is a line commandline data. It looks > something like this - > > @Array contains lines: > > post1: -r [EMAIL PROTECTED] -x cat-100 -h post1 > post2: -x tel -h post2 > post3: -h post3 -x hifi The getRelationships sub here has a few l

Re: shifting through arrays of line data

2003-02-28 Thread R. Joseph Newton
"John W. Krahn" wrote: > "R. Joseph Newton" wrote: > > > > Deb wrote: > > > > > > I have an array in which each element is a line commandline data. It looks > > > something like this - > > >... > > > post1: -r [EMAIL PROTECTED] -x cat-100 -h post1 > > > post2: -x tel -h post2 > > > post3: -h post

Re: shifting through arrays of line data

2003-02-28 Thread John W. Krahn
"R. Joseph Newton" wrote: > > Deb wrote: > > > > I have an array in which each element is a line commandline data. It looks > > something like this - > > > > @Array contains lines: > > > > post1: -r [EMAIL PROTECTED] -x cat-100 -h post1 > > post2: -x tel -h post2 > > post3: -h post3 -x hifi > > >

Re: shifting through arrays of line data

2003-02-28 Thread R. Joseph Newton
Deb wrote: > Hi Guys, > > I have an array in which each element is a line commandline data. It looks > something like this - > > @Array contains lines: > > post1: -r [EMAIL PROTECTED] -x cat-100 -h post1 > post2: -x tel -h post2 > post3: -h post3 -x hifi > > What I really need to do is build a re

Re: shifting through arrays of line data

2003-02-28 Thread John W. Krahn
Deb wrote: > > Hi Guys, > > I have an array in which each element is a line commandline data. It looks > something like this - > > @Array contains lines: > > post1: -r [EMAIL PROTECTED] -x cat-100 -h post1 > post2: -x tel -h post2 > post3: -h post3 -x hifi > > And so on. The order of the opt

RE: shifting through arrays of line data

2003-02-28 Thread Dan Muey
> > Thanks, I know how to use split (I think). Since the data > comes in any order, and I have to corellate it, I can't think > of a way that split will fix me up - Maybe I'm missing > something. Can you give me an example? > Ok I'll give her a go my %results; my $cnt = 1; foreach $line(

Re: shifting through arrays of line data

2003-02-28 Thread Deb
Thanks, I know how to use split (I think). Since the data comes in any order, and I have to corellate it, I can't think of a way that split will fix me up - Maybe I'm missing something. Can you give me an example? deb Dan Muey <[EMAIL PROTECTED]> had this to say, > perldoc -f split > > Will

RE: shifting through arrays of line data

2003-02-28 Thread Dan Muey
perldoc -f split Will fic you up! Dmuey > Hi Guys, > > I have an array in which each element is a line commandline > data. It looks something like this - > > @Array contains lines: > > post1: -r [EMAIL PROTECTED] -x cat-100 -h post1 > post2: -x tel -h post2 > post3: -h post3 -x hifi > > An