Help for this page

Select Code to Download


  1. or download this
    @array = ('a', 'b', 'c');
    $x = @array;   # scalar context => 3
    @y = @array;   # list context => ('a', 'b', 'c')
    ($v, $w) = @array;  # list context so $v => 'a', $w => 'b'