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

Re: Explaining source code

by submersible_toaster (Chaplain)
on Dec 13, 2008 at 02:33 UTC ( #730096=note: print w/replies, xml ) Need Help??

in reply to Explaining source code
in thread Deriving meaning from source code, some code is self documenting

Possibly, if the idioms you're looking to explain can be expressed by pulling apart sequences of PPI tokens, the scope would be just as broad.The Schwartzian Transform for example could be matched. Do you have some examples for be me think about?

I keep meaning to take a deeper look at Padre, which appears to be moving a at great pace. Were Padre to have a POD panel alongside editor,fs tree, etc - macropod could be used there as already described

I can't believe it's not psellchecked

Replies are listed 'Best First'.
Re^2: Explaining source code
by szabgab (Priest) on Dec 13, 2008 at 18:32 UTC
    for a starter I'd like to be able to recognize and explain thing such as $_, $_[0], $a, but of course expanding bigger expressions would be also cool.

    What is $x ||= 42; ?

    Think about beginners, or people with little experience who are thrown in to maintain a nasty code base.

    Think about people for whom Perl is only a 3rd or 4th level tool that they hardly know, hardly use but want to fix some code.

    I am sure we'll work out the details on the Padre mailing list or IRC channel.

      Without meaning to be rude , what are the chances a perl beginner ever escapes from their editor of choice? I had a bash w/ Padre on ubuntu 8.04 this weekend and stopped at the instruction to 'remove all Wx 2.6 from your system' - Not likely!

      I can't believe it's not psellchecked
        I am not sure what was supposed to be rude in your comment.

        If you are asking how beginners will be able to install Padre, then there are several plans.

        One of them is that Padre will come with many linux distributions.

        e.g. It already comes with Fedora and Mandriva. The Debian group is working on adding it to their distro, from where it can easily get into Ubuntu.

        Separately we hope to renew the support of downloading stand-alone executable of Padre for linux.

        For Windows we have a stand alone Portable Strawberry Perl beta with Padre inside that you can download, unzip and start using Padre.

        Of course if you won't upgrade your OS, it might never work for you.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://730096]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2019-05-26 19:18 GMT
Find Nodes?
    Voting Booth?
    Do you enjoy 3D movies?

    Results (153 votes). Check out past polls.

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