Because $a and $b are global variables, and thus don't need to be declared.
In reply to Re^3: How exactly does no work? by moritz in thread How exactly does no work? by PerlOnTheWay