>>>>> "kenshail2003" == kenshail2003 < ken%40shail.co.uk">ken
shail.co.uk> writes:
kenshail2003> I have a fairly large script that uses strict and has a
kenshail2003> signifcant number of global variables declared at the beginning
kenshail2003> with 'our'. I would like to move them all in to a separate file
kenshail2003> in order to simplify layout. What is the recommended method, if
kenshail2003> indeed it is possible?
Get rid of the global variables. Global variables make the program fragile and
hard to maintain and to reuse the code for other applications.
Learn to properly modularize your code.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
< merlyn%40stonehenge.com">merlyn
stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
.