my « Subroutine « Perl

1.Using my
2.Using my if statement
3.Using my to declare the local variable in a subroutine ($program, $exitCode) = @_; creates two local variables, $program and $exitCode, from @_. variable variable is initialized each time, local and global variable
8.My value scope
9.Define local variable in subroutine by using my

10.The scope of my variables
11.Use my to declare local variable