Help for this page

Select Code to Download


  1. or download this
    my ($left, $right) = qw(abc def);
    print "$left_$right\n";
    
  2. or download this
    print "$left\_$right\n";
    print "${left}$right\n";
    
  3. or download this
    my $string = "abcd";
    if ($string =~ m/(ab)(cd)/) {
        print "$1_$2\n";
    }