S
sunckell
hello everyone,
I have been working with perl a lot lately. Trying to read up as
much as I can. I am getting a little confused on how the script
"should look". I have downloaded and reviewed code from other
programmers, read several books, and I am seeing some discrepecies on
the location of sub routines.
My question: where should sub routines be located in a script?
Should they be at the top of the script, before MAIN, or at the end of
the script, after MAIN?
Thanks for the clarification....
SunCkell
I have been working with perl a lot lately. Trying to read up as
much as I can. I am getting a little confused on how the script
"should look". I have downloaded and reviewed code from other
programmers, read several books, and I am seeing some discrepecies on
the location of sub routines.
My question: where should sub routines be located in a script?
Should they be at the top of the script, before MAIN, or at the end of
the script, after MAIN?
Thanks for the clarification....
SunCkell