Help for this page

Select Code to Download


  1. or download this
    use strict; 
    use warnings; 
    ...
    --output:--
    3
    a
    
  2. or download this
    
    my @something = ('a', 'b', 'c');
    ...
    a
    b
    c
    
  3. or download this
    ($d, $e) = @something;
    say $d;
    ...
    --output:--
    a
    b
    
  4. or download this
    ($d) = @something;
    say $d;
    
    --output:--
    a
    
  5. or download this
    $d = @something;
    say $d;
    
    --output:--
    3
    
  6. or download this
    my($s, $t, $u) = @something;
    say $s;
    ...
    a
    b
    c