in reply to Configurable Matches
Change the line after __DATA__ to change the regex matched against.#!/usr/bin/perl -l chomp($tmp = <DATA>); $foo = 'the rain in spain'; print "match" if $foo =~ /$tmp/; __END__ __DATA__ ain$
$"=$,,$_=q>|\p4<6 8p<M/_|<('=> .q>.<4-KI<l|2$<6%s!<qn#F<>;$, .=pack'N*',"@{[unpack'C*',$_] }"for split/</;$_=$,,y[A-Z a-z] {}cd;print lc
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Configurable Matches
by jdhawke (Acolyte) on Jun 03, 2004 at 04:41 UTC | |
by orderthruchaos (Scribe) on Jun 03, 2004 at 14:04 UTC |