in reply to How to execute a function each time a "while" loop iteration occurs?

The code looks right, besides indentation.

I suppose you need to debug the input data or the resolve_domain function.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

  • Comment on Re: How to execute a function each time a "while" loop iteration occurs?

Replies are listed 'Best First'.
Re^2: How to execute a function each time a "while" loop iteration occurs?
by rmcdougal01 (Initiate) on Dec 22, 2019 at 01:21 UTC

    Hello Rolf,

    Thank you for confirming the code was correct, sorry for the indentation.

    Yes, you were I took another hard look and my print statement was incorrect hence not seeing subsequent iterations.