my $started = 0; open(LVMINFO, '<', $filename); while (<LVMINFO>) { $started = 1 if /^LV Name/; next unless $started; last if /--- Logical extents ---/; chomp; # Process # Process # Process } close(LVMINFO);
In reply to Re: Getting only part of a text file...
by dsheroh
in thread Getting only part of a text file...
by svnipp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |