Man pages sections > man3 > Catmandu::Fix::random

Catmandu::Fix::random - create an random number in a field

Catmandu::Fix::random(3pm) User Contributed Perl Documentation Catmandu::Fix::random(3pm)

NAME

Catmandu::Fix::random - create an random number in a field

SYNOPSIS

   # Add a new field 'foo' with a random value between 0 and 9
   random(foo, 10)
   # Add a new field 'my.random.number' with a random value 0 or 1
   random(my.random.number,2)

SEE ALSO

Catmandu::Fix
2017-10-01 perl v5.26.0