Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
            print join('|',@result) . "\n";
        }
    }
    
  2. or download this
    $ perl -w 1130518.pl 
    John Doe Joe split correctly, list has 3 elements. - John|Doe|Joe
    ...
    John  split correctly, list has 1 elements. - John
    John split correctly, list has 1 elements. - John
    $