Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Re2: C pre-processor in Perl

by simonm (Vicar)
on Jul 28, 2003 at 20:12 UTC ( #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
Node Status?
node history
Node Type: note [id://278597]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2021-06-21 17:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (99 votes). Check out past polls.

    Notices?