>>610
winのコマンドプロンプトだと動くね。
C:\>perl -e "if('123' =~ \"(?^:2)\"){print \"match\";}"
しかし同じコードをperl test.plで起動しても動かない。