http://www.perlmonks.org?node_id=134559


in reply to how to make a password dissapear?

What are you trying to do? read a password? right, read password, I mean ReadPassword, or better yet ReadPassword ;D

Term::ReadPassword is kinda cool, but do remember to read the pod, and heed the warnings of the author.

 
___crazyinsomniac_______________________________________
Disclaimer: Don't blame. It came from inside the void

perl -e "$q=$_;map({chr unpack qq;H*;,$_}split(q;;,q*H*));print;$q/$q;"

  • Comment on (crazyinsomniac) Re: how to make a password dissapear?

Replies are listed 'Best First'.
Re: (crazyinsomniac) Re: how to make a password dissapear?
by defyance (Curate) on Dec 27, 2001 at 23:48 UTC
    Sweet guys thanks for all of the input. Problem is restrictions on the Machine I'm running on. They don't like us to have too much du and won't let me get any modules. I just have to use the one's they allocate. Maybe, hopefully, I can convince the admin(a good friend) to grab a small list of modules for this little project, and many future projects as I'm really liking the functionality I can get outta perl.

      No offense, but this is kind of retarded. Code takes up space. Whether it's in the form of a pre-written, tested and robust module or in the form of proprietary code that you write/re-invent specifically for this project, it's going to take up disk space. I'll leave it up to you and your admins to determine which solution takes less time to code and support.

      Granted, in this case you can get by with a small amount of code, I think it's rather silly to deny the installation of modules because of disk space restrictions. Perl code doesn't take up a lot of space anyway, and disk space is cheap.

        I totally agree with you, code does take up space, why not allow the installation of modules if it helps make the code shorter, that's an awesome argument. However, his retort will be, "Your lucky I'm letting you do this". It all started out with me maintaining, and updating the current applications that he built in C. I decided C was functional, but that there had to be something better out there. So I was poking around, and saw how much of a fan base perl has and decided I'd try it out. When I made him aware of my plans he was weary. However he is letting me experiment with it to see what I can do. Now that I've written a prog that would have taken probably 1,000 lines of code in C(if it was at all possible to build something like that in C to begin with) he will more than likely be more lenient.

        True?