Help for this page

Select Code to Download


  1. or download this
      $aXML =~ s@</@{endtag}@gs;
      $aXML =~ s@/@{bs}@gs;
      $aXML =~ s@{endtag}@</@gs;
    ...
      ...
    
      while ($aXML =~ m@\[([^\[\]]*?)\]@gs) { ... }
    
  2. or download this
      my @chars = split //, $aXML;
    
      ...
    
      foreach my $char (@chars) { ... }