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

Re: Re2: C pre-processor in Perl

by simonm (Vicar)
on Jul 28, 2003 at 20:12 UTC ( [id://278597]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package MyFlags;
    use constant FooFlag => 42;
    use constant BarFlag => 23;
    ...
    package MyFlyingMonkey;
    use MyFlags qw( FooFlag BarFlag );
    print BarFlag . "\n";
    
  2. or download this
    package Potato;
    use constant tuber => 1;
    
    package main;
    print Potato->tuber;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-16 19:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found