Answer to Question #21895 in Perl for scotb
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
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!
Learn more about our help with Assignments:
Perl
Comments
Leave a comment