rboggala has asked for the wisdom of the Perl Monks concerning the following question:
but it is give an unpredictable outputopen (PSSWD, "<passwordfile") or die "could not able to open the file" + ; while ($line=<PSSWD>) { chomp($line); } ($uname,$password) = $line = ~ m/username\s+(\S+)\s+(\S+)\s*\S*/; close(PSSWD); printf("uname %c= $uname"); printf("\npassword=$password");
Please let me know where the error ishspw = 18446744073709551615 password=
Edited (davorg): Moved to root node. Added code tags
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How Do I Read Data From A File?
by Melly (Chaplain) on Dec 05, 2006 at 12:33 UTC | |
|
Re: How Do I Read Data From A File?
by davorg (Chancellor) on Dec 05, 2006 at 12:05 UTC | |
|
passwords in Re: How Do I Read Data From A File?
by ww (Archbishop) on Dec 05, 2006 at 16:13 UTC | |
|
Re: How Do I Read Data From A File?
by madbombX (Hermit) on Dec 05, 2006 at 16:00 UTC |