Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

On Parsing Perl

by merlyn (Sage)
on Dec 04, 2000 at 04:21 UTC ( [id://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
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (2)
As of 2024-04-20 05:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found