Help for this page

Select Code to Download


  1. or download this
    #!perl
    
    ...
            }
        }
    }
    
  2. or download this
    if ($n = ((/^<foo/) .. ($_ eq '</foo>')))
    {
    ...
            ...; # process the content
        }
    }
    
  3. or download this
    if (/^<bar/ && /\/>$/)
    {
        ...; # get the attribute(s) and value(s)
    }