Help language development. Donate to The Perl Foundation
Sys::Hostname - Implement Perl 5's Sys::Hostname core module
use Sys::Hostname; $host = hostname;
Obtain the system hostname as Perl 6 sees it.
All NULs, returns, and newlines are removed from the result.
At present, the behaviour of the built-in
gethostname sub is used. Any bugs in its behaviour should be fixed there.
Elizabeth Mattijsen firstname.lastname@example.org
Source can be located at: https://github.com/lizmat/Sys-Hostname . Comments and Pull Requests are welcome.
Copyright 2018 Elizabeth Mattijsen
Originally developed by David Sundstrom and Greg Bacon. Re-imagined from Perl 5 as part of the CPAN Butterfly Plan.
This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.