It's almost there.
this is the output I've got:
~$ perl p.pl
This will work
This will work as well
Couldn't execute three
at p.pl line 9
And, what I want to achieve is to print (for example) which variable raised that warning. Something like this:
Couldn't execute three on $o
at p.pl line 9
Perhaps am I asking to much?