This is such a stupid question but I am having problems with it.
All I am trying to do is determine the length of a string, and then, if it is less than 6 chars, run a subroutine. I keep getting an error. I'm not sure why. Here's the code.
$errmsg = "Too Few Characters in Company Login Name";
&err if (length($compname) < 6);