http://www.perlmonks.org?node_id=138022


in reply to Re: Re: while loops
in thread while loops

yes , thanks

in this case would $num++ also work