Help for this page

Select Code to Download


  1. or download this
    no strict 'refs';
    my $point1 = 'valpt';
    eval "\@use_$point1 = (1,2,3)";
    print @use_valpt;
    
  2. or download this
    no strict 'refs';
    my $point1 = 'valpt';
    @{"use_$point1"} = (1,2,3);
    print @use_valpt;