on Tue, 14 May 2002 12:04:41 GMT, [EMAIL PROTECTED] (David Vd Geer Inhuur Tbv Iplib) wrote:
> Let's try this one then :) > > ($username, $name) = split(/:/, $line); > chomp($username); > chomp($name); > > I think you just learned chomp :) I think not :( 'chomp' removes any trailing input record separator ("\n" if you haven't messed with $/). Since there is no "\n" at the end of $username, chomp($username); does nothing. Your solution also doesn't remove the leading spaces from $name. -- felix -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]