Help for this page

Select Code to Download


  1. or download this
    my @fred = qw(42 43 44 45);
    my ($q, $x, $y, $z) = grep /\d+/, @fred;
    print "$q $x $y $z\n";
    
  2. or download this
    42 43 44 45
    
  3. or download this
    ($q, $x, $y) = grep /\d+/, @fred;
    print "$q $x $y\n";
    
  4. or download this
    42 43 44
  5. or download this
    ($q, $x) = grep /\d+/, @fred;
    print "$x\n";
    
  6. or download this
    42 43
    
  7. or download this
    ($q) = grep /\d+/, @fred;
    print "$q\n";
    
  8. or download this
    42