Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #207869

Re: Net::DNS::Nameserver

From mick crane <mick.crane@gmail.com>
Newsgroups linux.debian.user
Subject Re: Net::DNS::Nameserver
Date 2019-04-26 14:20 +0200
Message-ID <xR7ZD-2Qd-7@gated-at.bofh.it> (permalink)
References <xR73z-2gT-1@gated-at.bofh.it> <xR7wC-2qZ-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 2019-04-26 12:48, tomas@tuxteam.de wrote:
> On Fri, Apr 26, 2019 at 12:19:09PM +0100, mick crane wrote:
>> sorry to be a nuisance
> 
> You are not (not to me, at least :-)
> 
>> can somebody explain generally what this scheme of things with the
>> dots has to do with ?
>> seen this in perl as the kind of hierarchy of modules but how is
>> this to do with the OS ?
>> 
>> ~$ apropos nameserver
>> Net::DNS::Nameserver (3pm) - DNS server class
> 
> You mean those double colons ('::')?
> 
> If yes: those are just separators for the Perl module namespace, which
> conceptually is a hierarchy. At the (right) end you can put some object
> (function, variable) living in that module's [1] namespace.
> 
> Those are just a device to subdivide the namespace and to organize
> file system "places" [1] -- they have no intrinsic "meaning" to perl
> (i.e. the language itself has no notion of "Net" or "Net::DNS" -- just
> of "Net::DNS::Nameserver").
> 
> Cf "perldoc -f require" for the full thing :-)
> 
> Cheers
> 
> [1] In Perl parlance, it is a "package".
> [2] Typically you'll find the package code in Net/DNS/Nameserver.pm
>    under a suitable "module root", e.g. /usr/share/perl5. The whole
>    list of roots is in the special array variable @INC.
> 
> -- tom??s

thanks, I don't think I'll ever properly comprehend this stuff but I do 
like it when things work.

mick


-- 
Key ID    4BFEBB31

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Net::DNS::Nameserver mick crane <mick.crane@gmail.com> - 2019-04-26 13:20 +0200
  Re: Net::DNS::Nameserver Alberto Luaces <aluaces@udc.es> - 2019-04-26 13:40 +0200
    Re: Net::DNS::Nameserver mick crane <mick.crane@gmail.com> - 2019-04-26 13:50 +0200
  Re: Net::DNS::Nameserver <tomas@tuxteam.de> - 2019-04-26 13:50 +0200
    Re: Net::DNS::Nameserver mick crane <mick.crane@gmail.com> - 2019-04-26 14:20 +0200
      Re: Net::DNS::Nameserver Joe <joe@jretrading.com> - 2019-04-26 14:50 +0200
    Re: Net::DNS::Nameserver Cindy Sue Causey <butterflybytes@gmail.com> - 2019-04-26 22:30 +0200
      Re: Net::DNS::Nameserver mick crane <mick.crane@gmail.com> - 2019-04-27 00:20 +0200
        Re: Net::DNS::Nameserver Erik Christiansen <dvalin@internode.on.net> - 2019-04-27 04:10 +0200
          Re: Net::DNS::Nameserver <tomas@tuxteam.de> - 2019-04-27 09:00 +0200

csiph-web