my ($START, $STOP) = qw(START STOP); while (<DATA>) { $where = /$START/../$STOP/; if ($where and $where > 1 and $where !~ /E0/) { print "PRINTING\n"; } else { print "not printing"; } } __END__
-- Randal L. Schwartz, Perl hacker
In reply to RE: RE: Re: something about improving code...
by merlyn
in thread something about improving code...
by Buckaroo Buddha
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |