Hi Jeff,
your explanation makes sense to me. Thanks!
Cheers,
Renee
On Mo. 05. Mär. 2007, 13:55:11, THALJEF wrote:
Show quoted text> I'm a little confused: If this is not a module, then why declare
> the "MyTest" package? In conjunction with
ProhibitMultiplePackages,
Show quoted text> the intent of these policies is to ensure that every file has
exactly
Show quoted text> one package, and that the file name matches the package name. That
> way, it is easy to trace dependencies and locate the code for any
> given package.
>
> However, if you insist on putting multiple packages in scripts, then
> you can satisfy this policy by placing "package main;" as the first
> package in the file. I tend to think that having the "main" package
> appear at the top of the file also improves readability.
>
> Please let me know if I have misunderstood your request. Thanks.
>
> -Jeff
>