T
Torch
I just started a little perl programming. I noticed a lot of "my"
commands before declaring a variable. I was under the impression that
the "my" command was only used to declare a variable locally (like for
instance in a subroutine). I noticed from a code I got that in some
cases "my" was used and in other cases not. Can somebody help me with
understanding when to use "my" and when not to use "my"
commands before declaring a variable. I was under the impression that
the "my" command was only used to declare a variable locally (like for
instance in a subroutine). I noticed from a code I got that in some
cases "my" was used and in other cases not. Can somebody help me with
understanding when to use "my" and when not to use "my"