Hi,
I am trying to write a script that reads names fron standard input and matches it to a key in a given table and prints out the name and key
Enter a first name or " <ctrl -z>", to exit
chomp { $name = <STDIN> };
while $name ne " <ctrl-z>"
if $name is in @given_table
then
print "$name maps to $value in given_table"
else
print "$name is not in the given_table\n"
what is wrong with this script?
Thanks,
Dakenah
_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
- Re: writing a script dakenah johnson
- Re: writing a script Wiggins d'Anconia
- Re: writing a script John W. Krahn
- writing a script brady jacksan
- Re: writing a script Wiggins d'Anconia
- Re: writing a script Wiggins d'Anconia
- Re: writing a script ktb
- Re: writing a script Paul
- Re: writing a script John W. Krahn
- Re: writing a script Michael Kelly