i have a source code for a bot which is extremely huge. i split it up into several files, i.e: source1.pl source2.pl source3.pl etc.. and in the main executable file.. require("source1.pl"); require("source2.pl"); require("source3.pl"); then run the main executable file, and it'll load each other source file into perl, and treat is as one big source.
dan "Cricker" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > This seems like a stupid question... but I've looked in lots of places and > can't figure it out. > > I'd like to break my perl script into several files (because it is getting > awfully large, with all the callbacks from Tk), but still keep the lexical > scope. Maybe I'm thinking too much like a C programmer, but I would just > like to #include callbacks.pl or some such. > > Thank you for your help. > > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]