Migrating from Perl to C#, how to get into perl fast?

Good time of day.
I found myself unnecessary problems in porting programs written in Perl in C#.
The program you can look at this link here, there is just the code appears.
It is possible of course to write this code in C# will be easier and faster. But as it is not quite what comes out. Direct and this works perfectly!

So, in fact the essence of the question: Advise what to read\watch to delve into Perl and to interpret this code in C#.
July 2nd 19 at 13:49
3 answers
July 2nd 19 at 13:51
Solution
For one algorithm to learn Perl? Surely sharp (or even on some less read-only language) is not written by one hundred realizations of each known algorithm for generating mazes? Wouldn't it be faster to check out how these algorithms works, and then write?
in this code, not only the mazes are used, but are placed doors, traps, stairs. Unfortunately more or less complete examples on the sharp no. Is or just generate mazes or mazes with rooms. There are rooms with straight corridors. But how to insert doors and things not told. - Chauncey.Simonis commented on July 2nd 19 at 13:54
: amazing.
Can only here to share: ondras.github.io/rot.js/manual/#map/dungeon
Maybe JS will be easier for sharp to move. - genevieve_Upton commented on July 2nd 19 at 13:57
: Oh, Yes. To move is not difficult. According to the algorithms and doors to place easily.
Thank you very much. The sharp is why it is always too intricate to get. Perhaps Google is not correct (which is probably true). - Chauncey.Simonis commented on July 2nd 19 at 14:00
July 2nd 19 at 13:53
Solution
In pearl the following link is nothing but working with arrays, and a couple of functions like srand.
The program is written very simply - the usual math functions.

Learning Perl is not necessary, just redraw algorithm in a more understandable format and write from scratch.
Dealt with Perl and this is what I understand) Initially did not understand the syntax. Helped the usual directories. - Chauncey.Simonis commented on July 2nd 19 at 13:56
July 2nd 19 at 13:55
Does
Write with 0 and don't touch the pearl

Find more questions by tags ProgrammingBooksDevelopment of gamesPerlC#