in reply to PPM behind firewall - security concern

Why on earth use Tk? You are at the command line typing already so why would you not just insert....

print "Firewall Password "; chomp(my $password = <>);

cheers

tachyon

Replies are listed 'Best First'.
Re: PPM behind firewall - security concern
by Brutha (Friar) on Jan 14, 2004 at 13:25 UTC
    Or if you don't want to read your password on the screen use:
    use Term::ReadKey; print "Enter PASSWORD: "; ReadMode 'noecho'; my $line = <STDIN>; chomp($line); ReadMode 'normal'; print "\n";
    This works even on a windoze console.

    And it came to pass that in time the Great God Om spake unto Brutha, the Chosen One: "Psst!"
    (Terry Pratchett, Small Gods)