in reply to "perl -c" an array of code in a running program

You could try wrapping the array code into a subroutine and evaling it to detect errors:

my @code = ...; my $sub = join "\n", 'use strict;', 'use warnings;', 'sub test {', @co +de, '} 1;'; if( eval $sub != 1 ) { ## look in $@ for errors; }

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
I'm with torvalds on this Agile (and TDD) debunked I told'em LLVM was the way to go. But did they listen!