http://qs321.pair.com?node_id=449140


in reply to qr/string/ is not the same as qr/$var/ ?

This is not regular expressions problem, nor qr problem. If you try foo.pl as:
my $foo = shift; print $foo,"\n";
and do
[ambs@eremita tmp]$ perl foo.pl 'fo\o' fo\o
I know I didn't answer your question. Basically, it seems program arguments are quoted. Can't say why.

Alberto Simões