XP is just a number | |
PerlMonks |
Re^3: How can I create an iterator that works inside foreach() (updated)by AnomalousMonk (Archbishop) |
on Nov 05, 2022 at 03:55 UTC ( [id://11147982]=note: print w/replies, xml ) | Need Help?? |
Also, looking at the post on the other site, it occurs to me that you might mention the semipredicate problem with the posted code (see the end of my updated post). ... inner sub upto must be predeclared to take an anonymous sub argument; hence the (%). I don't understand this. Are upto (no leading underscore) and (%) typos? And shouldn't _upto be something like Iterator (for clarity)? Give a man a fish: <%-{-{-{-<
In Section
Seekers of Perl Wisdom
|
|