Help for this page

Select Code to Download


  1. or download this
    perl -l --
    use constant FOY => 1, 2, 3, 4;
    ...
    2
    3
    4
    
  2. or download this
    List constants are returned as lists, not as arrays.
    
        $homedir = USERINFO[7];             # WRONG
        $homedir = (USERINFO)[7];           # Right