I have tried: $var = false; $var = FALSE; $var = False; None of these work. I get the error message Bareword "false" not allowed while "strict subs" is...
  • May 24, 2022
  • 0 Comments
I seem to have come across several different ways to find the size of an array. What is the difference between these three methods? my @arr = (2); print...
  • May 20, 2022
  • 0 Comments
I’m trying to use a break statement in a for loop, but since I’m also using strict subs in my Perl code, I’m getting an error saying: Bareword “break”...
  • May 16, 2022
  • 0 Comments