Hi everyone,

I am starting to write a number of perl programs.  Most relate around a
particular application which has numerous environmental variables.  The
variables can be set from a number of places and those places have a
hierarchy as to which takes precedence over the others.

I have therefore written a perl sub routine that builds up a hash of
environmental variables and their respective values and then use them in
my scripts.

I no longer want to maintain this sub routine in every script I write
regarding this application.

Do I need to create a module and put this routine in it?

If so how?

Do I declare it as a function in the module and then call it from my
other scripts?

All help as usual gratefully appreciated.

Ken Cole


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to