http://qs321.pair.com?node_id=902775

greatdane has asked for the wisdom of the Perl Monks concerning the following question:

I would like to simulate a datapath design using perl. The data path will have FIFOS, PIPES, MUXES and ARBS. Any suggestion on how I should go about coding these elements in perl? For example, how would I code a FIFO of depth N that I can instance M times and independently push/pop?