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

Parse C-like define statements

by Cirollo (Friar)
on May 29, 2002 at 16:39 UTC ( [id://170144]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    ------------------
    #DEFINE <PATH>     /path/to/something
    ...
    #DEFINE <REV>      3
    #DEFINE <FILE>     <PATH>/foo_<VERSION>.txt
    ------------------
    
  2. or download this
    sub parseDefines {
        my ($filename, $option);
    ...
        close FILE;
        return $defines{$option};
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (7)
As of 2024-04-24 09:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found