Help for this page

Select Code to Download


  1. or download this
    
    use HTML::Entities;
    
    while (<TEXT_FILE>) {
        encode_entities $_;
    
  2. or download this
        encode_entities $_;  # yes, really twice
    
  3. or download this
        do_stuff($_);
    }
    
    print XMLout ($foo);     # the data structure built by do_stuff()