Help for this page

Select Code to Download


  1. or download this
    Print ("Please enter the name of your html file\n");
    $file = (<STDIN>);
    
  2. or download this
    open (IN, $file);
    open (OUT, >$file);
    while ($line = [IN]) {
    ...
    # Would I have to do the above line for all possible tags or is there 
    +an easier way ?.
    <code>(print OUT $line);
    }
    
  3. or download this
    rename $file, "$file.old";
    open (IN, "<$file.old");
    Open (OUT, ">$file");