Hi,

In message "Re: Range in logical context"
    on 03/04/17, nobu.nokada / softhome.net <nobu.nokada / softhome.net> writes:

|* if both sides are them, the range is meaningless.
|    print if true..false		# should be warned always.
|
|* just one side, however, may make sense.
|    print if (/cat/ =~ line)..true	# print lines from "cat" through EOF.
|
|* bare regexps and numerics should be warned, of course.
|    print if /cat/..true		# same as above, but warning.

Agreed.

							matz.