Re: [PBML] Please provide a solution for this.
>>>>> "Vivek" == Vivek Kumar <kumarvivek_2001@...> writes:Vivek> I have a package name Global in Global.pm file. This file I created to
Vivek> share the global variables (e.g $gvar1, $gvar2, $gvar3) across different
Vivek> Perl files. say first.pl, second.pl third.pl.
Please stop that. The fewer globals you have, the higher quality your code
will be for debugging, maintenance, and reusability. Export behavior, not
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!