Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Hacking Perl (I think)

by Anonymous Monk
on Aug 25, 2011 at 03:12 UTC ( [id://922259]=perlquestion: print w/replies, xml ) Need Help??

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I have been using Perl for a long time, and I want to learn how to hack Perl (hack meaning edit source). How would I go about doing this? I've read perlhack, but it really didn't help. Also, I don't want to use Git if I don't have to. Thanks.

Replies are listed 'Best First'.
Re: Hacking Perl (I think)
by ikegami (Patriarch) on Aug 25, 2011 at 03:36 UTC

    You can get a snapshot of blead from http://perl5.git.perl.org/perl.git/snapshot/HEAD.tar.gz.

    Although git patches are preferred, one created using diff -u should be acceptable too.

    That said it'll be easier to use git, especially when it comes time to rebase your patches when you're about ready to submit them.

      Well... I really don't know how to use Git. And I guess I don't, really, no the purpose of Git. But if it is easier, I guess I should learn Git ;-)

        perlrepository tells you pretty much everything you need to know.

        The git user manual is actually very good once you need something perlrepository doesn't cover.

        The purpose of git is to be a version control system which you can use when you're offline. I'm told that it has some other funky features too, but I'm not convinced that they are either particularly important or couldn't be implemented with cvs or svn and a few shell scripts.
Re: Hacking Perl (I think)
by FunkyMonk (Chancellor) on Aug 25, 2011 at 13:08 UTC

      And I would point out that, from a practical standpoint, learning git will be far more beneficial than learning the guts of Perl 5.

      Perfect! Thanks Funky Monk! Also, if anyone knows of a good Git tutorial online (besides perlgit) that would be great!
Re: Hacking Perl (I think)
by Anonymous Monk on Aug 25, 2011 at 03:51 UTC

    I've read perlhack, but it really didn't help. Also, I don't want to use Git if I don't have to. Thanks.

    Didn't help what?

      Didn't help to learn how to hack Perl.

        Didn't help to learn how to hack Perl.

        You already said that, what does that mean?

        perlhack DESCRIPTION is

        This document explains how Perl development works. It includes details about the Perl 5 Porters email list, the Perl repository, the Perlbug bug tracker, patch guidelines, and commentary on Perl development philosophy.

        And perlhack does indeed teach that

        So what do you mean?

        FunkyMonk points you to perlguts, but that can't be what you're after, after all, perlhack points you to perlguts MORE READING FOR GUTS HACKERS

Re: Hacking Perl (I think)
by Logicus (Initiate) on Aug 25, 2011 at 03:20 UTC
    Just one question... why?
      Why? Because I would like to learn about the internals of Perl. And what better way to that than hacking the source?! :-)

        I guess for academic curiosity there is no better way, I just find it hard to imagine that there are more than a few dozen people on the planet capable of making any significant improvements to it.

        Personally I'd quite like to have a look at the source code to perl version 1, just to see where it all started in it's most simplistic form.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://922259]
Approved by ikegami
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-04-18 18:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found