Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: REGexp match query

by flexvault (Monsignor)
on Oct 09, 2015 at 15:42 UTC ( [id://1144314] : note . print w/replies, xml ) Need Help??


in reply to REGexp match query

Dear Monks,

I would use the following to get at the data in each line: (untested)

my $output = $rh->get_response; $output = join( " ", split " ", $output ); my @outputlist = split /\ /, $output; foreach (0..$#outputlist) { . . .
Hope this helps!

Regards...Ed

"Well done is better than well said." - Benjamin Franklin