from those I'll get "it works" or "it doesn't", nothing more.
What more do you want? You said you were looking for valid perl.
Code is either valid, or it's not. Since you haven't defined what
"works" means, a natural assumption is that it means it's valid,
i.e. it compiles and runs without error.