Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

On Parsing Perl

by merlyn (Sage)
on Dec 04, 2000 at 04:21 UTC ( #44722=perlmeditation: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    >>>>> "Makhno" == Makhno  <mak@imakhno.freeserve.co.uk> writes:
    Makhno> I'm thinking of writing a GUI Perl-syntax-aware editor, and
    ...
    Makhno> Does anybody have any ideas on how I go about parsing perl
    Makhno> syntax in such a way, before I go to a lot of potentially
    Makhno> unnecessary work?
    
  2. or download this
            sin / ...
            time / ...
            localtime / ...
            caller / ...
            eof / ...
    
  3. or download this
            use constant FOO => 35;
            FOO / ...
    
            use Fcntl qw(LOCK_SH);
            LOCK_SH / ...
    
  4. or download this
            sub no_args ();
            sub one_arg ($);
    ...
            no_args / ...
            one_arg / ...
            normal / ...
    
  5. or download this
            use Random::Module qw(aaa bbb ccc);
            aaa / ...
            bbb / ...
            ccc / ...
    
  6. or download this
            BEGIN {
              eval (time % 2 ? 'sub zany ();' : 'sub zany (@);');
            }
            zany / ...
    
  7. or download this
            sin  / 25 ; # / ; die "this dies!";
            time / 25 ; # / ; die "this doesn't die";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://44722]
Approved by root
Front-paged by htoug
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2014-11-27 23:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (190 votes), past polls