Paul Kraus wrote: > > That's interesting. I have also read that you need to have the subs at > the top of the script if you call it with sub() > > However I just realized that I always have my subs at the bottom and > always call them with sub() without the ampersand. > > Am I getting lucky? Should I correct my scripts?
The names of any subs you create are global like perl's special variables. Because perl compiles the code before it runs, you can create and use subs anywhere in the program. John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]