Janek Schleicher wrote: > > Adriano Allora wrote at Tue, 25 Mar 2003 15:39:14 -0800: > > > I need to delete single lines in a text (for example the 132nd, the 133rd and the > > 134th ones). > > How can I do it in a structure like: > > > > if $. = selected number > > line = "" > > As TMTWTDI, here's another one: > > while (<>) { > print if (1 .. 131) || (135 .. -1); ^^^^^^^^^ That won't work. The second number HAS to be greater than the first number.
print if 1 .. 131 or 135 .. eof; John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]