Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: C pre-processor in Perl (breaks)

by tye (Sage)
on Jul 29, 2003 at 14:31 UTC ( #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
Node Status?
node history
Node Type: note [id://278843]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (8)
As of 2021-06-21 15:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (98 votes). Check out past polls.

    Notices?