in reply to a simple include....

use and require are the most common mechanism to import stuff into your code. But the thing that is closest to C's #include is do. Pass it a string: perl will treat it as a filename, and execute the file using the same scoping rules as eval. --Dave

Replies are listed 'Best First'.
Re: Re: a simple include....
by pcouderc (Monk) on Apr 30, 2003 at 14:43 UTC
    Thank you, I have just tried that, but I get the same error
    Global symbol "$SousMaintenance" requires explicit package name...
      A code snippet would help us to help you debug it :-)