Help for this page

Select Code to Download


  1. or download this
    my @a = ('a', 'b', 'c');
    
  2. or download this
    my @a = 'a', 'b', 'c';
    
  3. or download this
    ( my @a = 'a' ), 'b', 'c';
    
  4. or download this
    my @a = ( 1..4 );
    
  5. or download this
    my @a = 1..4;
    
  6. or download this
    use constant {
      zed     => 0,
    ...
      repos   => (qw(oss non-oss debug)),
      two     => 2,
    };
    
  7. or download this
    use constant {
      zed       => 0,
    ...
      'non-oss' => 'debug',
      two       => 2,
    };