in reply to Re: Re: Re: Hiding password on commandline
in thread Hiding password on commandline

Got it! The ascii value of eight is for backspaces. And 13 is for carriage returns, but on my solaris machine, 13 was not working, so I changed 13 to 10, the value for newlines, and it worked like a charm. Thanks.
  • Comment on Re: Re: Re: Re: Hiding password on commandline

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Hiding password on commandline
by JamesNC (Chaplain) on Jan 19, 2004 at 00:09 UTC
    :-), now sign up for Monks (it's free). I think my turning point in Perl was when I joined this site. These guys are AWESOME, and we all just want to pass the knowledge along.
    Once you really learn Perl, I promise, you won't want to use any other language, and you will probably think you can solve all problems with it. Indeed, once I thought I saw a decent argument for NOT using it. A guy had an algorithm that indeed ate a lot of computation time when he emulated the c function that he had. In c the function took about 4 seconds. In Perl it took over 10 minutes to run. Ugly... but then a gent showed how to use the Inline::C module to compile that C code into a library that Perl linked to at run time and bingo.. the whole program ran in 4 seconds. I was hooked on Perl at that moment.
    JamesNC
      Why do people always assume AM is not a monk who has chosen to remain anonymous? Sometimes in the past I have posted questions with forgetting to login first. So I remain anonymous. Other times I just feel like remaining anonymous . . . I don't know, it's one of the great things about the web: the illusion of anonymity.