in reply to Did not get the regex matched value in perl array variable

You should always check the return value of open.
open QUEUES, $queuecmd or die "$queuecmd: $!";

If you're running the script on the server through CGI, the error message will be located in the error log.

($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,