Re: STILL shifting through arrays of line data

2003-03-04 Thread Rob Dixon
Hi Deb. Let me put you out of your misery. It's a shame because you were s close! Deb wrote: > > Here's the modified script. I made some changes, as suggested, but > there > was no change in the output. I've included my entire script. My > head is getting mighty flat from banging it against

Re: STILL shifting through arrays of line data

2003-03-04 Thread Sudarshan Raghavan
On Tue, 4 Mar 2003, Sudarshan Raghavan wrote: > The problem is with the last \s+, when you are parsing the final tuple > $rest contains this '-h ten-me-900'. Due to the final \s+ the above regex > will not match. This leaves $opt, $arg and $newRest as undefined. Change > the final \s+ to \s* an

Re: STILL shifting through arrays of line data

2003-03-04 Thread Sudarshan Raghavan
On Mon, 3 Mar 2003, Deb wrote: > Here's the modified script. I made some changes, as suggested, but there > was no change in the output. I've included my entire script. My head is > getting mighty flat from banging it against the wall. Oh, and I added "use > warnings;" and I haven't got a clu

Re: STILL shifting through arrays of line data

2003-03-03 Thread Deb
Sudarshan Raghavan <[EMAIL PROTECTED]> had this to say, > > Did you look at the code that I posted at the end of my last mail? I'm so embarrassed! I totally missed it! Wow. This is just what I'm looking for. I'm going to try it out - but it will have to wait until morning (it's 2315 here, a

Re: STILL shifting through arrays of line data

2003-03-03 Thread Sudarshan Raghavan
On Mon, 3 Mar 2003, Deb wrote: > Here's the modified script. I made some changes, as suggested, but there > was no change in the output. I've included my entire script. My head is > getting mighty flat from banging it against the wall. Oh, and I added "use > warnings;" and I haven't got a clu

Re: STILL shifting through arrays of line data

2003-03-03 Thread Deb
(H, this should have been posted, but I don't see it - sorry if this actually becomes a double-posting...) Here's the modified script. I made some changes, as suggested, but there was no change in the output. I've included my entire script. My head is getting mighty flat from banging it ag

Re: STILL shifting through arrays of line data

2003-03-03 Thread Deb
Here's the modified script. I made some changes, as suggested, but there was no change in the output. I've included my entire script. My head is getting mighty flat from banging it against the wall. Oh, and I added "use warnings;" and I haven't got a clue what I need to do to fix those. I'd

Re: STILL shifting through arrays of line data

2003-03-03 Thread John W. Krahn
Deb wrote: > > Okay, I'm still struggling.I just cannot seem to get my mind to > stop, look, and listen. Here's some code I'm working on: Did you try the code I posted Friday? (Message-ID: <[EMAIL PROTECTED]>) John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PRO

Re: STILL shifting through arrays of line data

2003-03-03 Thread Sudarshan Raghavan
> Okay, I'm still struggling.I just cannot seem to get my mind to > stop, look, and listen. Here's some code I'm working on: > - 8-< > use strict; You might also want to add a use warnings after use strict and check how y

Re: STILL shifting through arrays of line data

2003-03-03 Thread George P.
On Mon, 3 Mar 2003, Deb wrote: > Okay, I'm still struggling.I just cannot seem to get my mind to > stop, look, and listen. Here's some code I'm working on: > > - 8-< > use strict; > my %cmdLine; > my $DBG = 1; > > while (

STILL shifting through arrays of line data

2003-03-03 Thread Deb
Okay, I'm still struggling.I just cannot seem to get my mind to stop, look, and listen. Here's some code I'm working on: - 8-< use strict; my %cmdLine; my $DBG = 1; while () { chomp; my ($adx, $rest) = (spl