Re-Program the first project using Perl. Use suitable Perl data structure to build the stack.