I am trying to write a script that will check a series of conditions and based on if the condition is met, print a statement. . .so for example if $pu = 2, the statement "This a RU error" would print, ect . . .
What I have below doesn't work, please help!
my $pu2 = substr($bin_var,8,4);
if...