Help for this page

Select Code to Download


  1. or download this
    my ($n, $v) = "3 aaa " =~ /^(\d+?) ((??{".{$1}"})) /;
    
    print "n=$n, v=$v\n";   # prints "n=3, v=aaa"