Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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 ...


Comment on Re: Opensuse 12.2 how can i check if i do run one or two versions of Perl?!
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2015-07-05 06:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls