Name: Anonymous 2012-02-26 1:44
I've been using
However, I've been wondering if there's anything else I can do in there. Like for example, could I use if-statements in there?
/e to execute code with something I've captured in regular expressions. Like so:$string =~ s{(tExT)}
{ do_something($1) }eg;However, I've been wondering if there's anything else I can do in there. Like for example, could I use if-statements in there?