Carlos Diaz wrote: > > Can anyone explain in simple terms the difference between the three (my, > our, local). Especially the difference between my and local. Thanks...
local is a leftover from pre-Perl5 versions. It is used on package (global) variables and does not define them it only affects the value of the variable. our defines package variables so they can be used in Perl5 when strictures are enforced ("use strict".) my defines and creates variables that are local to the current scope and are not related to any package. [I hope I got it right. :-)] John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]