README

NAME

Sys::Domainname - Determine System Domain Name

SYNOPSIS

use Sys::Domainname;

say "My domain name: {domainname}";

DESCRIPTION

This module uses the hostname -f command (where it works) to determine the system's domain name.

If a domain name is not present, it returns an empty string. Should the hostname -f command fail, it returns a Str type object.

WARNING

This module currently only works on Linux, OSX, and similar environments where the domain name is able to be determined with hostname -f.

In particular, this will always return Str on Windows.

AUTHOR

Joelle Maslak [email protected]

COPYRIGHT AND LICENSE

Copyright Ā© 2020-2022 Joelle Maslak

This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.

Sys::Domainname v0.1.0

Determine System Domain Name

Authors

  • Joelle Maslak

License

Artistic-2.0

Dependencies

Test Dependencies

Provides

  • Sys::Domainname

Documentation

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.