Help for this page

Select Code to Download


  1. or download this
    #!perl -w
    use strict;
    ...
    #    shift @words unless $words[0];
        print $words[0], ' ', $words[-1], $/;
    }
    
  2. or download this
        print "@words[0,-1]$/";