On Friday 23 March 2007 14:59, Matt Herzog wrote: [ . . ] > in the file, (.properties$) the search works fine. I need to be able to use > the variable $searchstring at the command line. Is this even possible? If [ . . ] > return unless ($_ =~ /\.properties$/); [ . . ]
if ( /\Q$patc_fil\E$/ ) { # . . . } Someone mentioned the \Q and the \E I've used them. They work. (above, a line from one of my codes). -- Alan. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/