I do know to read C, but not speak!!
I did not know that code of core functions are written in C. Now I know. Are there any core functions which are written in Perl (some simpler functions!!). | [reply] |
| [reply] |
Perl is written in C. All of the operators ("core functions") are implemented in C.
It was said that glob was written in Perl, but it's pp_glob in pp_sys.c. (*Sometimes*, this does result in Perl getting executed, but not always.)
It was said that dbmopen was written in Perl, but it's pp_dbmopen in pp_sys.c. (Granted, this does result in Perl code getting executed.)
There are many core and non-core modules written in Perl, but the functions in perlfunc are necessarily written in C.
| [reply] [d/l] [select] |