You're replying to a comment by Peteris Krumins.

December 15, 2009, 09:54

Jaskirat, I'd need some case studies from real world applications then! But yes, it's possible:

$rx = qr/(??{system("ls")})/;
$str = "foo";
$str =~ /$rx/;

Lists files in the current directory.

Reply To This Comment

(why do I need your e-mail?)

(Your twitter name, if you have one. (I'm @pkrumins, btw.))

Type the first letter of your name: (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.