This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Prevent hostname() from accepting arguments
authorJames E Keenan <jkeenan@cpan.org>
Sat, 25 May 2019 02:37:40 +0000 (22:37 -0400)
committerJames E Keenan <jkeenan@cpan.org>
Wed, 5 Jun 2019 00:11:24 +0000 (20:11 -0400)
commit82b53111b29b7b8060044482d261a31ccd5ac001
treeaface951b0787396579006f2c4dcb09050369c78
parent1e420d1cde740938fdfedb4ce5d184e0e29eb093
Prevent hostname() from accepting arguments

Previously deprecated; now fatal.

Incorporate feedback from Tony Cook and Richard Leach as to wording of
exception and how it is invoked.

For: RT 134137
ext/Sys-Hostname/Hostname.pm
ext/Sys-Hostname/t/Hostname.t