Intrah onat Diria .. Mon, 01 May 2006 09:06:21 -0500 , Rance Hall wrote "Revera y":
> <http://learn.perl.org/> <http://learn.perl.org/first-response> > For additional commands, e-mail: [EMAIL PROTECTED] > To unsubscribe, e-mail: [EMAIL PROTECTED] > -- > > > > [EMAIL PROTECTED] > 1-308-468-5711, ext. 106 > Nebraska Turkey Growers > System Administrator > Rance Hall > -- > > Thanks. > > But I'm open to suggestions about HOW to accomplish this. > > split each name\nvalue pair. > I think what I need to do is split every other "\n" and then go back and > > split wants to split on EACH "\n" > > what like to do is get the name/value pairs into a hash of some sort my %hash = grep s/\n//, @$output; , assuming that $output is a reference to an @rray > > ... > value\n > name\n > value\n > name\n > value\n > name\n > value\n > name\n > value\n > name\n > value\n > name\n > > assume that the output of the systemcall looks something like this > > my $output = qx{systemcall}; > > assume the following code: > --------the following could be unreadable @ 1146493586 ::: | , 28-2-2006-23:24 , ],in,andand], , , , 134 , DELETED , > , terrfastefaster , for , / , > , | , -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>
