Help for this page

Select Code to Download


  1. or download this
    my $string = "one two three four five";
    my $tmp    = "this doesn't matter";
    ...
    
    $tmp =~ s/\S*$//;                             # random regex
    print "\$3=$3\n";
    
  2. or download this
    $3=three
    Use of uninitialized value in concatenation (.) or string at test line
    + 10.
    $3=