in reply to awk cmd in perl

It may or may not be practical, but perhaps you could consider rewriting the awk scripts into a single Perl program.

If you don't want to rewrite the awk code manually, you could still try to translate it automatically with the a2p (awk to Perl) utility: see a2p for details.