I have written a sample perl code:
use strict; use warnings; $a=1; $b=2; if($b==2) { $a=3; } print $a;
Ideally, when I run this code, it sh
$a and $b are special variables, and thus are not rising error when used with strict.
$a
$b
strict
From perldoc strict,
Because of their special use by sort(), the variables $a and $b are exempted from this check.