Help for this page
"my" variable $k masks earlier declaration in same scope at mytest.pl +line 9.
Global symbol "$k" requires explicit package name at mytest.pl line 8. Global Symbol "$k" requires explicit package name at mytest.pl line 8. Execution of mytest.pl aborted due to compilation errors.