RE: [Perl-unix-users] Hash in win and Unix

2003-01-24 Thread Craig B. Nakata
Pablo, For @keys=%gen try @keys = keys(%gen) Hope this helps Craig > -Original Message- > From: [EMAIL PROTECTED] [mailto:perl-unix- > [EMAIL PROTECTED]] On Behalf Of [EMAIL PROTECTED] > Sent: Thursday, January 23, 2003 7:36 AM > To: [EMAIL PROTECTED] > Subject: [Perl-unix-users] Hash in

Re: [Perl-unix-users] Hash in win and Unix

2003-01-23 Thread Jon Shorie
Could this be the old carrage return/linefeed problem? Windows puts both a carriage return and a linefeed after each return. Unix uses only one of them. Mac OS (7-9.21) uses the other. I don't have an ascii chart handy, but maybe someone else could shed more light on this. On Thursday 23 Janu

RE: [Perl-unix-users] Hash in win and Unix

2003-01-23 Thread Matt Schneider
After you read it in from a file do you chomp (@list_names)? If you don't then there is a "\n" on the end that the hash function will see and say that there is no data associated with that key. Perl Windows may automatically ignore this I don't know. Matt Schneider Programmer/System Administrat