Help for this page

Select Code to Download


  1. or download this
    for ([qw/Joe Blow/], [qw/John Doe/]) {
        my ($x, $y) = @$_;
        # do something
    }
    
  2. or download this
    for ('Joe Blow', 'John Doe') {
        my ($x, $y) = split;
        # and so on
    }
    
  3. or download this
    {
        my ($x, $y) = ($name, $lastname);
        # do something
    }