Guys what are the best Online resources for learning Compiler Design ?
Would Perl be a viable language to write a Compiler ?
Rather than online, as mentioned in the above answer, grab yourself a copy of the Dragon book Compilers: Principles, Techniques, and Tools. A copy of the first edition shouldn't set you back too much.
Not sure about Perl as a language of choice for implementing a compiler though.