Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: Opensuse 12.2 how can i check if i do run one or two versions of Perl?!

by Perlbotics (Canon)
on Oct 30, 2012 at 21:41 UTC ( #1001562=note: print w/replies, xml ) Need Help??

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

The perl's in your $PATH can be shown like this:
bash: type -a perl perl ist /opt/perl/bin/perl perl ist /usr/bin/perl perl ist /usr/bin/X11/perl
Vendor's perl:
bash: /usr/sbin/zypper info perl ... Information for package perl: Repository: @System Name: perl Version: 5.12.3-11.20.1 Arch: i586 Vendor: openSUSE Installed: Yes Status: up-to-date Installed Size: 40.5 MiB Summary: The Perl interpreter Description: perl - Practical Extraction and Report Language ...
Find all perls that you can access with current privileges:
bash: find / -type f -name perl -ls 2>/dev/null ... 808533 1372 -rwxr-xr-x 2 perl5 users 1404260 Aug 28 2011 /o +pt/perl/bin/perl 1094084 1372 -rwxr-xr-x 1 perl5 users 1404260 Aug 27 2011 /h +ome/perl5/src/perl-5.14.1/perl 6203 2832 -rwxr-xr-x 2 root root 2899960 Jan 31 2012 /u +sr/bin/perl ...

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1001562]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2016-10-23 17:01 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (301 votes). Check out past polls.