Re: source code for builtin functions

2009-09-04 Thread Peter Scott
On Thu, 27 Aug 2009 13:04:39 -0700, heyi xiao wrote: > My linux system has > a pre-installed perl. Is there a good way to check the source code for > builtin functions, like reverse etc. I want to check the source code for > better learning/understanding. http://github.com/github/perl/tree/blead

Re: source code for builtin functions

2009-08-27 Thread heyi xiao
Thanks a lot, guys, for your help and the hot, informative discussion! I really got better idea at where/how to look perl source code. Although I may not fully understand the C code itself. Heyi --- On Thu, 8/27/09, Randal L. Schwartz wrote: From: Randal L. Schwartz Subject: Re: source

Re: source code for builtin functions

2009-08-27 Thread Randal L. Schwartz
> "heyi" == heyi xiao writes: heyi> Hello all, heyi> My linux system has a pre-installed perl. Is there a good way to check heyi> the source code for builtin functions, like reverse etc. I want to check heyi> the source code for better learning/understanding. If you really think you can gai

Re: source code for builtin functions

2009-08-27 Thread Shawn H. Corey
Paul Johnson wrote: I don't think there's any need for that. I also don't think this is an inappropriate question for this list or that the C code is particularly ugly for that matter, but there you go. I didn't mean to offend anyone. All I meant was the questions about how Perl is implement

Re: source code for builtin functions

2009-08-27 Thread Paul Johnson
On Thu, Aug 27, 2009 at 06:34:53PM -0400, Shawn H. Corey wrote: > Telemachus wrote: >> On Thu Aug 27 2009 @ 2:40, heyi xiao wrote: >>> 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? >> >>

Re: source code for builtin functions

2009-08-27 Thread Shawn H. Corey
Telemachus wrote: On Thu Aug 27 2009 @ 4:55, Shawn H. Corey wrote: Nowadays, Linux comes with Perl but not its documentation. To download it, start your favourite package manager and download the package "perl-doc" Also, since some of it refers to the Syscalls, you may want its documentation.

Re: source code for builtin functions

2009-08-27 Thread Chas. Owens
On Thu, Aug 27, 2009 at 17:18, Telemachus wrote: > On Thu Aug 27 2009 @  4:55, Shawn H. Corey wrote: >> Nowadays, Linux comes with Perl but not its documentation.  To >> download it, start your favourite package manager and download the >> package "perl-doc"  Also, since some of it refers to the Sy

Re: source code for builtin functions

2009-08-27 Thread Shawn H. Corey
Telemachus wrote: On Thu Aug 27 2009 @ 2:40, heyi xiao wrote: 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? If you browse to this site, you can download the source code for whatever version of P

Re: source code for builtin functions

2009-08-27 Thread Telemachus
On Thu Aug 27 2009 @ 2:40, heyi xiao wrote: > 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? If you browse to this site, you can download the source code for whatever version of Perl you're wo

Re: source code for builtin functions

2009-08-27 Thread Uri Guttman
> "hx" == heyi xiao writes: hx> Thanks,Uri and Shawn, for all the information. I knew perl is hx> written in C, but I am still interested in checking the C source hx> for some builtin function directly. Is there any good way to go?

Re: source code for builtin functions

2009-08-27 Thread heyi xiao
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 wrote: From: Uri Guttman Subject: Re: source code for

Re: source code for builtin functions

2009-08-27 Thread Telemachus
On Thu Aug 27 2009 @ 4:55, Shawn H. Corey wrote: > Nowadays, Linux comes with Perl but not its documentation. To > download it, start your favourite package manager and download the > package "perl-doc" Also, since some of it refers to the Syscalls, > you may want its documentation. Its package

Re: source code for builtin functions

2009-08-27 Thread Shawn H. Corey
heyi xiao wrote: Hello all, My linux system has a pre-installed perl. Is there a good way to check the source code for builtin functions, like reverse etc. I want to check the source code for better learning/understanding. Thanks a lot! Heyi Documentation for the built-in functions is her

Re: source code for builtin functions

2009-08-27 Thread Uri Guttman
> "hx" == heyi xiao 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

Re: Source Code Audit

2004-12-01 Thread Jonathan Paton
Joshua, Do you think it is the script, or the PSP/perl enviroment that is leaking memory? How serious is the memory leak? Are you using the latest perl? If it is your perl code that leaks (try a dummy script as a check) then the most likely cause is circular references or eval problems. On old

Re: Source Code Audit

2004-12-01 Thread Casey West
It was Wednesday, December 01, 2004 when Joshua Berry took the soap box, saying: : Quite honestly, I am not much of a programmer so these modules (even : though they are simple) are a little over my head. The output is always : more cryptic than what I can understand. If this is the case I might

RE: Source Code Audit

2004-12-01 Thread Joshua Berry
, 2004 4:08 PM To: Joshua Berry; [EMAIL PROTECTED] Subject: RE: Source Code Audit Joshua Berry wrote: > Does anyone know somebody or some company that does Perl source code > auditing? I don't know personally. Perhaps you can get help here... > I have written a Perl Server application t

RE: Source Code Audit

2004-12-01 Thread Bob Showalter
Joshua Berry wrote: > Does anyone know somebody or some company that does Perl source code > auditing? I don't know personally. Perhaps you can get help here... > I have written a Perl Server application that is leaking > memory and cannot find the leak. There are some modules on CPAN that might

Re: Source Code Audit

2004-12-01 Thread James W. Thompson, II
http://www.secway.fr/services/source.php?PARAM=us https://sardonix.org/ I have no affiliation nor do I even give a rip about either of these but I turned them up on Google On Wed, 1 Dec 2004 15:55:58 -0600, Joshua Berry <[EMAIL PROTECTED]> wrote: > Does anyone know somebody or some company

Re: Source Code Control and Naming ThingiePoo was Re: Starting Perl

2003-11-13 Thread drieux
On Thursday, Nov 13, 2003, at 12:29 US/Pacific, Chuk Goodin wrote: [..] While that would indeed be the Best Practice, as a beginner just learning, one of the things I like about perl are the differences from other (usually compiled) languages that I'm used to. [..] Chuk, et al, a part of the rea

Re: Source Code Control and Naming ThingiePoo was Re: Starting Perl

2003-11-13 Thread Chuk Goodin
On Thu, Nov 13, 2003 at 11:33:14AM -0800, drieux wrote: > So let us step back and look at the 'root cause problem' > > so I want to just 'fix it on the fly' > > and yes, foo.pl as an editable text file will allow you > simply open it with a text editor and WHACK a fix in. Unlike > RealCode[

Re: source code !

2001-09-07 Thread Me
> $array[112]='a'; > but there isnot any array with this name.why? 1. perhaps the programmer made a mistake. execute perl with -w to find out more. 2. the array name is @array. are you sure there isn't an @array? 3. you merely have to mention a variable or element of an array or hash, and it wi

Re: source code

2001-09-05 Thread Brett W. McCoy
On Wed, 5 Sep 2001, nafiseh saberi wrote: > what are the meaninig in source code of perl: > 1-$|=1 (in second line in perl ???) This turns on autoflushing of the currently selected filehandle, so you don't have to explicitly flush an output buffer, it's done automatically every time you use an

Re: source code

2001-09-05 Thread Jos I. Boumans
These are very basic questions, which any good perlbook will deal with. (I'd advise 'learning perl' by randal schwartz). now for your answers: 1: that's called 'autoflush', print right away rather then buffering 2: undefine a variable (ie, make it empty) 3: they're called hashes, and => makes ''