Jeff Pang schreef: > Christopher Spears: >> print "Enter regular expression: "; >> chomp(my $regexp = <STDIN>); > > $regexp = quotemeta($regexp);
Since it specifically asks for a regular expression, I would definitely not do quotemeta(). >> #print $regexp; Make that print qr/$regexp/; -- Affijn, Ruud "Gewoon is een tijger." -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/