Help for this page

Select Code to Download


  1. or download this
    my @f = split(//, $s);
    
  2. or download this
    my @f = $s =~ /./gs;
    
  3. or download this
    print("\@f has ", scalar(@f), " elements:\n");
    print("\$f[$_] = $f[$_]\n") for (0..$#f);