It somewhat depends on the context of what you want to do... but this might be a starting point:
#!/usr/bin/perl while (<>) { # skip initial unwanted lines next if /^<\?xml version/ .. /^<\/Info>/; # process the lines you want... print; }
You can of course also explicitly open the file instead of using the magic <>.
In reply to Re^3: delete lines
by almut
in thread delete lines
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |