Hello, the pearl syntax is not familiar, but you need to implement a random value between one and two after the function is executed. There is a function that depends on the parameter, which is set to 2.
Generate(17, "test",3,1 , 2); in general, it doesn't matter what the first arguments mean, only the last one is important. In the function itself, its value is set as follows:
my %values = ('CAT' => $dbCategoryUrl,'CATNAME' =>$dbCategoryName , 'TEST' =>$test ); and the value takes only 2 after execution. Tell me how to implement the function so that a random value of 1 or 2 is issued after the execution. thank