Help for this page

Select Code to Download


  1. or download this
     @line = split(/(\.)/,$line);
    
  2. or download this
    If the PATTERN contains parentheses, additional list elements are crea
    +ted from each matching substring in the delimiter.
    
  3. or download this
    while(<DATA>) {
        $line=$_;
    ...
    
    __DATA__
    The quick. Brown fox. Jumps over the. Lazy dog.
    
  4. or download this
    @line = (
              'The quick',
    ...
              ' Lazy dog',
              '.'
            );