develooper Front page | perl.beginners | Postings from August 2009

Re: source code for builtin functions

Thread Previous | Thread Next
From:
heyi xiao
Date:
August 27, 2009 14:40
Subject:
Re: source code for builtin functions
Message ID:
363838.96758.qm@web62201.mail.re1.yahoo.com




Thanks,Uri
and Shawn, for all the information.

I knew perl is written in C, but I am still interested in
checking the C source for some builtin function directly. Is there any good way
to go?

Heyi



--- On Thu, 8/27/09, Uri Guttman <uri@StemSystems.com> wrote:

From: Uri Guttman <uri@StemSystems.com>
Subject: Re: source code for builtin functions
To: "heyi xiao" <xiaoheyiyh@yahoo.com>
Cc: beginners@perl.org
Date: Thursday, August 27, 2009, 4:25 PM

>>>>> "hx" == heyi xiao <xiaoheyiyh@yahoo.com> writes:

  hx> My linux system has a pre-installed perl. Is there a good way to
  hx> check the source code for builtin functions, like reverse etc. I
  hx> want to check the source code for better learning/understanding.

all builtin functions are in c and not perl so you will not learn any
perl from examining them. and you can always get the perl source from
perl.org or from your linux distro (look for a source or developer
package vs the regular one).

uri

-- 
Uri Guttman  ------  uri@stemsystems.com  --------  http://www.sysarch.com --
-----  Perl Code Review , Architecture, Development, Training, Support ------
---------  Gourmet Hot Cocoa Mix  ----  http://bestfriendscocoa.com ---------



      
Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About