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

Re: Parse C-like define statements

by danger (Priest)
on May 29, 2002 at 18:29 UTC ( [id://170180]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # change this:
        $defines{$_} =~ s/<(\w+)>/$defines{$1}/g;
    ...
    # to this:
        1 while $defines{$_} =~ s/<(\w+)>/$defines{$1}/g;
    
  2. or download this
        #!/usr/bin/perl -w
        use strict;
    ...
        my $file = $opts->{FILE};
        print "$file\n";
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2024-04-24 22:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found