Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Idea for Perl Learning Tool

by dze27 (Pilgrim)
on Apr 28, 2001 at 22:51 UTC ( [id://76404]=note: print w/replies, xml ) Need Help??


in reply to Idea for Perl Learning Tool

I don't know of any existing tools like this.

However, there is a really cool toolkit for doing regular expressions in the new ActiveState Komodo interface. You can type in a regexp and some text to match. It highlights what is currently being matched and explains what is going on in English. You can advance through each part of it and it shows what is getting stored in each of the variables $1, $2 etc.

This might at least help with one aspect of perl although a general tool might be a great learning aid as you mention.

Replies are listed 'Best First'.
Re: Re: Idea for Perl Learning Tool
by Chady (Priest) on Apr 29, 2001 at 00:51 UTC

    For RegEx explanation, japhy does a great job with that in his module.


    He who asks will be a fool for five minutes, but he who doesn't ask will remain a fool for life.

    Chady | http://chady.net/
Re: Idea for Perl Learning Tool
by Dominus (Parson) on Apr 29, 2001 at 17:14 UTC
    Says dze27:

    <blocckquote> there is a really cool toolkit for doing regular expressions in the new ActiveState Komodo interface. Thanks! I am glad you liked that.

    --
    Mark Dominus
    Perl Paraphernalia

      Absolutely. The way you get the immediate feedback on what is being matched is extremely helpful. Thank *you*!

      I don't know if this is the place for it, but I was thinking it would be even better (feeping creaturism, here we go) if you could have a list of strings to be matched. So instead of entering just one, you could enter N strings, maybe 1 per line, and watch the regexp match them at the same time.

        Says dze27:
        I was thinking it would be even better (feeping creaturism, here we go) if you could have a list of strings to be matched. So instead of entering just one, you could enter N strings, maybe 1 per line, and watch the regexp match them at the same time.
        I agree, and this idea appears in my original notes for the regex debugger. I will be releasing the code for the back-end after I give my talk about it at TPC5, and I hope the result will be that several people implement free regex debuggers and that at least one of them has this feature.

        The paper is online, should you want to read it.

        --
        Mark Dominus
        Perl Paraphernalia

Log In?
Username:
Password:

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

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

    No recent polls found