Re: デモでパスワードが必要な時は - Practice of Programming
デモでパスワードが必要な時は - Practice of Programming
Reviewによると、Windowsじゃ動かないようなのですが、Windowsの場合に使える代替モジュールは...なんかあるのかな?
僕はターミナルにパス入れるときは Term::ReadPassword 使ってるんですが、
use Term::ReadPassword; my $pass = read_password('input: '); say $pass;
こいつはwindows対応版があるようです。
% perldoc Term::ReadPassword BUGS Windows users will want Term::ReadPassword::Win32.
が、
This module has a poorly-designed interface, and should be thoroughly rethought and probably re-united with the Windows version.
だそうな。
僕はwindowsでプログラム書く機会は無いのでどーでもいいです。