in reply to Howto get last items using split

my ($e1, $e2, $e3) = split /\s/, $string, 3;

Replies are listed 'Best First'.
Re^2: Howto get last items using split
by mickep76 (Beadle) on Oct 21, 2009 at 08:43 UTC

    Thanks it works gr8.

    But I think the proper response should have been RTFM, now that I saw the solution :D

      ... I think the proper response should have been RTFM ...
      Indeed, and for the benefit of those following along at home, the FM in question is split, with particular attention paid to the  LIMIT parameter.
      (See also  perldoc -f split from your consoles.)