Harry Putnam wrote:
my $date_re = qr/^Date:/; my $other_re = qr/^Date: some date/;if (/$date_re/ !~ /$other_re/){
That code is bizar! What exactly do you want to compare? 1. Whether both matches succeed in the same way? 2. Whether both regexps contain similar code? 3. none of the above -- Ruud -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/