Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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

by Perlbotics (Archbishop)
on Oct 30, 2012 at 21:41 UTC ( [id://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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-04-18 04:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found