Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 having an uproarious good time at the Monastery: (6)
As of 2014-12-22 04:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (110 votes), past polls