Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Hacking Perl (I think)

by Anonymous Monk
on Aug 24, 2011 at 23:12 UTC ( #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 (Pope) on Aug 24, 2011 at 23:36 UTC

    You can get a snapshot of blead from

    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 09: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 24, 2011 at 23: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 on Aug 24, 2011 at 23: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?

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2018-12-13 02:34 GMT
Find Nodes?
    Voting Booth?
    How many stories does it take before you've heard them all?

    Results (61 votes). Check out past polls.

    • (Sep 10, 2018 at 18:53 UTC) Welcome new users!