Hi all,
I cant figure out why this regular expression generates an error:
s/([0-9a-zA-Z])/"<a href=some.php?id=".process($1)."></a>"/ei )
"process($1)" is a function call but I have the "e" attribute at the end so that its evaluated correctly. The error from this is: Bareword found where operator expected at file.pl
Also if I remove the part after process($1) - it works?!?
Thanks!
I cant figure out why this regular expression generates an error:
s/([0-9a-zA-Z])/"<a href=some.php?id=".process($1)."></a>"/ei )
"process($1)" is a function call but I have the "e" attribute at the end so that its evaluated correctly. The error from this is: Bareword found where operator expected at file.pl
Also if I remove the part after process($1) - it works?!?
Thanks!