in reply to Re^2: Matching ranges
in thread Matching ranges

Your $r =~ /^Services/ is the problem. Try running this and look at printout of values of $r.
while(<>) { if (my $r = /^Services/ .. /^Users/ ) { #next if $r =~ /^Services/; next if /^Services/; print "$r:$_"; last if $r =~ /E0$/; } }

Replies are listed 'Best First'.
Re^4: Matching ranges
by ldbpm (Initiate) on Sep 02, 2010 at 15:21 UTC

    Most excellent ... Seriously thanks ...