By the definition from Rich Hickey, lua seems to be optimized for simplicity while perl is for easiness.
The result is something that may or may not be faster, or clearer . . . but it's a whole lot easier to debug when something goes wrong.
I learned Perl about a decade ago, and have never felt that plumbing its depths (references were about as sophisticated as I got) would pay off. (I won't get into what I think is broken about Perl, because that discussion definitely won't pay off :-) )
With the latest version of Padre, I find debugging Perl scripts to be as easy as C#.
Or you can use the commercial Komodo editor which has another high quality Perl debugger.