From: sormariano <[EMAIL PROTECTED]> > However, to set some code before the use MODULE directives is something > I could never imagine, due to my still poor perl knowledge. > I thought that if some modules were missing, I had errors also if some > instructions were put before the use MODULE directives.
That's what the BEGIN{} block is for. So that you could execute some code before compiling the rest of the file. See the "BEGIN, CHECK, INIT and END" section in perldoc perlmod. Jenda ===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz ===== When it comes to wine, women and song, wizards are allowed to get drunk and croon as much as they like. -- Terry Pratchett in Sourcery -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/