Hey all,
Im trying to figure out how to do an if statement to match one of three vaules.
(START CODE)
my $value1 = 5
my $value2 = 6
my $value3 = 7
#Lost but Ill give an example
If ($random == $value1|$value2|$value3) #This didnt work. It always matched
If ($random == $value1 .. $value3)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.