Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Enum

by ase (Monk)
on Jun 21, 2000 at 05:46 UTC ( #19147=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub enum {
        local($_)=@_;
    ...
            }
        }
    }
    
  2. or download this
    &enum(<<'EOL');
       $RED, $GREEN, $BLUE, $CYAN='a', $MAGENTA, $YELLOW,
       $BLACK=-1
    EOL
    print "$RED $GREEN $BLUE $CYAN $MAGENTA $YELLOW $BLACK\n";
    

Log In?
Username:
Password:

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

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












    Results (121 votes). Check out past polls.

    Notices?