Allowed to have more than one "package" in one file?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

is it allowed/recommended to have two "package"s in one file, if the
module is meant to be published on



"Alle Macht geht vom Volk aus - aber wo geht sie hin?" - Bertolt Brecht
 Alle wollen zurück zur Natur - aber keiner zu Fuß
Beiträge mit *X-No-Html Header* kann ich weder lesen, noch beantworten!

Re: Allowed to have more than one "package" in one file?

On Fri, 04 Mar 2011 12:53:04 +0100, Manuel Reimer wrote:

Quoted text here. Click to load it

Allowed, yes.  Recommended, no - it makes it a bit harder for people
looking for the source of the "hidden" package, although obviously it is
one that they're not going to put in a use statement anyway.  But if
you've got a good reason for this then go ahead.

Peter Scott / /

Site Timeline