On Wed, Dec 19, 2001 at 04:01:07PM +1030, Daniel Falkenberg wrote: > next if $username =~ /^ruby/; > > will that strip and go to the next if statment if $username = ruby?
It won't strip anything, and it matches on a username that starts with 'ruby', not if it equals 'ruby'. Use eq for string equality. See perldoc perlre. Michael -- Administrator www.shoebox.net Programmer, System Administrator www.gallanttech.com -- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]