On Wed, 18 Sep 2002, Arie Folger wrote:
>       > s/bc(?{if (/e/){$a = "hi"}else{$a = "HI"}})e/bc${a}e/;

you have a question mark after a nothing, as far as perl is concerned.
if you intended to match to "bc", then possibly a "("

then write

bc\(?

otherwise, the paranthesis use to define the vars $1, $2, etc. 
-- 
Orna.   |  http://tx.technion.ac.il/~agmon

The trouble with a kitten is that
Eventually, it becomes a cat.             --Ogden Nash


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to