Help language development. Donate to The Perl Foundation

Terminal::Getpass cpan:TITSUKI last updated on 2018-03-21

Terminal-Getpass-0.0.6/

Build Status

NAME

Terminal::Getpass - A getpass implementation for Perl 6

SYNOPSIS

use Terminal::Getpass;

my $password = getpass;
say $password;

DESCRIPTION

Terminal::Getpass is a getpass implementation for Perl 6.

METHODS

getpass

Defined as:

sub getpass(Str $prompt = "Password: ", IO::Handle $stream = $*ERR --> Str) is export

Reads password from a command line secretly and returns the text.

AUTHOR

Itsuki Toyota titsuki@cpan.org

COPYRIGHT AND LICENSE

Copyright 2018 Itsuki Toyota

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