in reply to Re: Perl built-in functions source code
in thread Perl built-in functions source code

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!!).
  • Comment on Re^2: Perl built-in functions source code

Replies are listed 'Best First'.
Re^3: Perl built-in functions source code
by Anonymous Monk on Feb 06, 2015 at 08:45 UTC
      Thanks a lot!!
Re^3: Perl built-in functions source code
by ikegami (Patriarch) on Feb 06, 2015 at 17:33 UTC
    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.