in reply to Replacing text - problem with $1 variable
Also, i am still bummed out by the long-standing fact that this:s/brad(\d+)bill/brian$1bob/gm
only works for *NIX, while this:perl -le'$foo="bar";print $foo'
only works for Win32 ... it's not Perl's fault, which makes me think that we will never have naturally portable one-liners. :(perl -le"$foo='bar';print $foo"
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
|
|---|