72 458
Assignments Done
Successfully Done
In April 2019

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!
Expert's answer

Not answered

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!


No comments. Be first!

Leave a comment

Ask Your question

Privacy policy Terms and Conditions