On Aug 10, 9:27 am, [EMAIL PROTECTED] (Oryann9) wrote: > Another hunch looking at your syntax, ideally you > should be using the lesser precedence operator 'and' > instead of the higher precedence operator '&&'. Yes > plz show the command line string. :) > > if($ARGV[2] =~ /port/i and $ARGV[3] =~ /nick/i)
Massive red herring. Nothing at all to do with the problem at hand. =~ has a higher precedence than either 'and' or '&&'. There is no difference at all between the two in this case, and no reason to use one over the other. See perldoc perlop for the full precedence list. Paul Lalli -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/