View Single Post
Old 05-19-2005, 10:58 AM   #2 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,720
redhead is on a distinguished road
Code:
# build another nice hash table
for ($k=0; $k < $cntPasswd; $k++)
{
  chomp($passwd[$i]);
Shouldn't this be:
Code:
# build another nice hash table
for ($k=0; $k < $cntPasswd; $k++)
{
  chomp($passwd[$k]);
Eventho it dosn't affect the outcome of this program, it will ensure your $shell will hold a usefull info, if you plan on using it else where.
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote