Help for this page

Select Code to Download


  1. or download this
    use strict;
    my @lines = <DATA>;
    ...
    __DATA__
     Delimit each  word with   one  or more spaces
       This  is  the    second  line
    
  2. or download this
    $_: ' Delimit each  word with   one  or more spaces'
    'Delimit' 'each' 'word' 'with' 'one' 'or' 'more' 'spaces' 
    
    $_: '   This  is  the    second  line'
    'This' 'is' 'the' 'second' 'line'
    
  3. or download this
       my @words = split;