Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^6: Generate the perl..- Running STD.pm

by moritz (Cardinal)
on Oct 11, 2008 at 18:46 UTC ( [id://716634]=note: print w/replies, xml ) Need Help??


in reply to Re^5: Generate the perl sequence 1, 11, 111, ....
in thread Generate the perl sequence 1, 11, 111, ....

Sorry to the OP for going so far off-topic...

You need to grab a copy of the pugs repository. In that repo you'll find the directory src/perl6/, in which you can find STD.pm and STD5_dump_match.

(If you take somebody else's checkout of the pugs repository please copy the perl6/ folder to your home directory, because you need write accessing for the lex cache).

In that dir, type make, then you can use perl STD5_dump_match $file to print out a match tree.

(You need a perl 5.10.0 in /usr/local/perl to run this, along with a few modules like re::engine::TRE, JSON::XS and Moose. I'll try to install all the dependencies on feather now.)

Log In?
Username:
Password:

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

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

    No recent polls found