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

++, but more likely $queuecmd is not a file name, but a command, in which case an open mode of '-|' would be appropriate. For testing then
my $queuecmd = 'cat queues.txt';
,-)

Replies are listed 'Best First'.
Re^3: Did not get the regex matched value in perl array variable
by thanos1983 (Parson) on Dec 27, 2017 at 14:15 UTC

    Hello soonix,

    ++, you are absolutely right, I have updated my answer. Thanks for pointing out my mistake. :)

    BR / Thanos

    Seeking for Perl wisdom...on the process of learning...not there...yet!