Guest User


a guest
Feb 5th, 2016
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. bash-4.3$ perl -pae'@a=sort$a-$b,grep/^\d/,@F;$_="$a[0], $a[-1]"' <<< '1 2 3 4 "5"'
  2. 0, 4
  4. bash-4.3$ perl --version
  6. This is perl 5, version 20, subversion 2 (v5.20.2) built for x86_64-linux-gnu-thread-multi
  7. (with 40 registered patches, see perl -V for more detail)
  9. Copyright 1987-2015, Larry Wall
  11. Perl may be copied only under the terms of either the Artistic License or the
  12. GNU General Public License, which may be found in the Perl 5 source kit.
  14. Complete documentation for Perl, including FAQ lists, should be found on
  15. this system using "man perl" or "perldoc perl". If you have access to the
  16. Internet, point your browser at, the Perl Home Page.
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add to your ad blocker whitelist or disable your adblocking software.