local $_; while (<DATA>) { print if /WNT|UNX/; if ($flag) { print if $target_db eq 'sql' && /informix|oracle/i || $target_ +db ne 'sql' && /$target_db/i; print $FH $_; undef $flag if /$target_os/; } elsif (/UNX|WNT|COMPONENT/) { $flag = 1; print $FH $_; } }
In reply to Re: Looking for less code
by JavaFan
in thread Looking for less code
by Sun751
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |