Hello, I am starting to learn perl. when i go to run and type perl it opens but when i type the basic program
$a=2;
$b=$a + $a;
print $b ;
and then press enter i dont get any output.i thought i would get 4 as output.
i want to know what i am doing wrong.need some help just to start.
i tried going to perl critic but it gives error message on the first line.error message is 'code before strictures are enabled'
some one please help.