http://qs321.pair.com?node_id=1193469


in reply to Ignore a range of numbers ina List

You have a semi-reasonable model for what you wish to do. But consider the possibilities of using a while loop (cf: perldoc  perlsysn)

Also, please note that your advance rejection of regex approaches flies in the face of the PM appoach: "we're here to help you learn."

Replies are listed 'Best First'.
Re^2: Ignore a range of numbers ina List
by pr33 (Scribe) on Jun 25, 2017 at 03:55 UTC

    Thanks .

    It is not that I didn't want to use Regex , But just wanted to try out the Non-Regex solution .