On Tue, Jul 31, 2001 at 03:05:45PM -0500, Jay Kline wrote:
> open PASSWD, '>' . $passw_file or die "There was an error opening the password
> file.\n";

open... or die "There was an error opening the password file: $!\n";

Including the $! will give you the standard error message for whatever
went wrong.

-- 
With the arrest of Dimitry Sklyarov it has become apparent that it is not
safe for non US software engineers to visit the United States. - Alan Cox
"To prevent unauthorized reading..."         - Adobe eBook reader license