Web lists-archives.com

Re: Net::DNS::Nameserver




On Sat, Apr 27, 2019 at 12:05:18PM +1000, Erik Christiansen wrote:
> On 26.04.19 23:09, mick crane wrote:
> > I did wonder if was some scheme I was unaware of.

[...]

> More the opposite. i.e. make the tail end of the long::name::thingy
> identifiable in a _restricted_ scope. The :: nomenclature first appeared
> (to my eyes) in C++ several decades ago. For perl to adopt an existing
> convention is a step forward for the language.

Many languages have adopted the double-colon as a scope resolution
operator (Tcl, Ruby, I think PHP too). Some languages don't need
it, because scope resolution is delegated to an already existing
mechanism (e.g. object member resolution -- e.g. Lua, Python, the
Lisps).

Cheers
-- tomás

Attachment: signature.asc
Description: Digital signature