Foray Into Perl Source

| | Comments (0)
I uncovered some problems with @INC and require, so I dug into the perl source for the first time (well, except for some playing around before). I found the place in perl.c that was causing our @INC problems (I sitll don't know the exact solution; I have some ideas, but am not sure of the ramifications), and Simon Cozens pointed me to pp_ctl.c for pp_require, and that led me to util.c for PERL_FILE_IS_ABSOLUTE or somesuch. I am not sure what the logic should be there yet, but I put in some test code and it is working OK for now.
 
Anyway, it's good to get into it and play around with the code. use.perl.org

Leave a comment

<pudge/*> (pronounced "PudgeGlob") is thousands of posts over many years by Pudge.

"It is the common fate of the indolent to see their rights become a prey to the active. The condition upon which God hath given liberty to man is eternal vigilance; which condition if he break, servitude is at once the consequence of his crime and the punishment of his guilt."

About this Entry

This page contains a single entry by pudge published on January 24, 2001 11:19 AM.

Build Working was the previous entry in this site.

Weekend Thoughts is the next entry in this site.

Find recent content on the main index or look in the archives to find all content.