Catman...terate(3pm)

πŸ“¦
version 1.2025 Β· 4 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– NAME πŸ’–

Catmandu::Fix::Bind::iterate β€” a binder that iterates fixes in a loop, bestie. She loops. That's the whole gig. πŸŒ€


✨ SYNOPSIS ✨

okay so picture this, you want a lil list of numbers, right? watch:

# Create:
#   numbers = [1,2,3,4,5,6,7,8,9,10]
do iterate(start:1, end: 10, step: 1, var: i)
   copy_field(i,numbers.$append)
end

that's it. that's the vibe. 🫢


🌸 DESCRIPTION 🌸

so the list binder iterates over all the elements in a list and fixes the values in context of that list. it's giving very much "go through everything, one by one, no skipping, we're thorough in this house" πŸ’…


πŸŽ€ CONFIGURATION πŸŽ€

start

Start value of the iterator. where we begin, queen πŸ‘‘

end

End value of the iterator. where we stop, periodt πŸ›‘

step

Increase the iterator with this value for every step. yes she hops, and she hops by this much every single time πŸ¦‹

var

Optional variable holding the value of the current step. ngl this one is optional, so if you don't need it, don't stress 🌈


πŸ‘‘ SEE ALSO πŸ‘‘

  • Catmandu::Fix::Bind
  • Catmandu::Fix::list
  • Catmandu::Fix::with

perl v5.40.1 Β· 2026-01-24

and that's the whole page bestie, no cap, this documentation was brought to you by User Contributed Perl Documentation πŸ’–βœ¨ go loop something iconic, ily, bye πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from