in reply to [Solved][HOP] Working with Iterators, why do I suddenly get a coderef?

I'd suggest to use parens when calling list_iterator()

Sorry can't test while mobile...

Cheers Rolf

( addicted to the Perl Programming Language)

  • Comment on Re: [HOP] Working with Iterators, why do I suddenly get a coderef?

Replies are listed 'Best First'.
Re^2: [HOP] Working with Iterators, why do I suddenly get a coderef?
by three18ti (Monk) on Nov 03, 2013 at 01:11 UTC

    Hey Rolf,

    Thanks, you nailed it! I was reading the parenthesis around qw() and thinking that was the parenthesis for the sub call, but it's not, it's the parenthesis around the list.