This site is about Perl programming, not C programming unless in close relation to Perl. If you want to translate your code to Perl, you will find that the code is a valid Perl program with very little modifications.
conio.h is a C header file used in old MS-DOS compilers to create text user interfaces. It is not described in The C Programming Language book, and it is not part of the C standard library, ISO C nor is it required by POSIX.
Not only is your code not Perl, it is even totally obsolete C, written for MS-DOS.