Re: Questions on porting Perl from Unix to Windows

2008-01-28 Thread Paul 'Bo' Peaslee
Hey Andy: Use the Perl standard OS constant, $^O, when you want to know what OS you're on. Here are some values that are returned: Windows => mswin32, AIX => aix, Linux => linux. Your version of UNIX will return a different value. By the way you'll want to use '\\' when creating Windows directo

RE: How to make the passwd invisible while I'm typing the passwd atMS-DOS prompt on Windows?

2008-01-28 Thread Jack
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gary Yang Sent: January-28-08 10:28 AM To: perl-win32-users@listserv.ActiveState.com Subject: How to make the passwd invisible while I'm typing the passwd atMS-DOS prompt on Windows? >Hi,   >T

How to make the passwd invisible while I'm typing the passwd at MS-DOS prompt on Windows?

2008-01-28 Thread Gary Yang
Hi, The script bellow prompt user to enter login password. But, when I enter the passwd at prompt, it shows me the passwd I typed. How to make the passwd invisible while I'm typing the passwd? print "\nPlease Enter login passwd: "; chomp($passwd = ); I greatly appreciate you