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: [email protected] For additional commands, e-mail: [email protected] http://learn.perl.org/
