Help for this page

Select Code to Download


  1. or download this
    my $string = 'Frank';
    my $name   = 'Frank';
    
    print $1 if $string =~ /^$name$/;
    print $1 if $string =~ /^($name)$/;
    
  2. or download this
    Use of uninitialized value $1 in...
    
  3. or download this
    Frank