Thread
:
Problem with my $variable
View Single Post
#
4
07-30-2008, 09:55 AM
Theeper
Discordant
Join Date: May 2004
Posts: 290
In PERL, "my" variables are private in scope. They're not the same as "local" variables, but they function as you'd expect a local variable would in this context. Not using "my" makes a variable global.
Theeper
View Public Profile
Send a private message to Theeper
Find all posts by Theeper