in reply to How do I match a expression start with $a and not contain $b after $a
This code will not fail although neiter $a nor $b is declared despite of use strict.#!/opt/gnu/bin/perl -w use strict; $a = 40; # error because of use strict? no $b = $a; # error again ? no
Best regards,
perl -e "$_=*F=>y~\*martinF~stronat~=>s~[^\w]~~g=>chop,print"
|
|---|