I am trying to split off the user name and the password record in one pass through however what I am getting is only the first record is being populated into my user array.
Can someone tell me am I going about this the right way? Thanks, Royce my @user=(split(/:/,(@passwd=(split(/\n/,`cat /etc/passwd`)))[0])); for($i=0;$i <= $#passwd ; $i++) { print "$user[$i]\n"; print "$passwd[$i]\n"; } ------------------------------------------------------------------------ The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]