Answer to Question #21895 in Perl for scotb

Question #21895
sub display
{
foreach $line (@mybook)
{
if($line =~ m/Family/)
{

print "$line";
}
}
}

I need to print the line from my xml file after the pattern match line. What do I need to add to this!
0
Expert's answer

Answer in progress...

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS