On Jan 26, 2004, at 2:45 PM, Jan Eden wrote:


Now I learned some more perlish behaviour: double colons are used for both the namespace and the replicated directory structure.

actually, the double colons indicate a name space, and IF the name space IS external, then it is left to the File System Implementation of 'use' and/or 'require' how to go and find the appropriate file.

As you will have noticed from say

        BEGIN {
        package Foo::Bar;
        ......


} # end begin # back in package main::*

One can put packages into a script and use them,
without having to externalize them as a Perl Module.


ciao drieux

---


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to