Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: C pre-processor in Perl (breaks)

by tye (Sage)
on Jul 29, 2003 at 14:31 UTC ( [id://278843]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #define FOO "bar"
    print qq(The value of FOO is "), FOO, qq("\n);
    
  2. or download this
    $ perl cpp.pl
    The value of FOO is "FOO"
    $ perl -P cpp.pl
    The value of "bar"  is "FOO"
    $
    
  3. or download this
    > perl -P cpp.pl
    'cl' is not recognized as an internal or external command,
    ...
    > perl -P cpp.pl
    Command line error D2003 : missing source filename
    >
    
  4. or download this
    $ perl -P cpp.pl
    ngcc: -: No such file or directory
    ngcc: No input files specified.
    $
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2024-04-19 11:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found