http://www.perlmonks.org?node_id=1001559


in reply to Opensuse 12.2 how can i check if i do run one or two versions of Perl?!

This will find all executable files called "perl" on your system...

locate -br '^perl$' | perl -nle'print if -x and not -d'
perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'
  • Comment on Re: Opensuse 12.2 how can i check if i do run one or two versions of Perl?!
  • Download Code