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]
[haukex]: You can put it in SOPW, but use <readmore> tags
[haukex]: Also you might want to label it "code review"
[haukex]: Unless you have specific questions, in which case SSCCE's are much better
[cbeckley]: Excellent, thank you.
[cbeckley]: CUFP is more appropriate for stuff that's finished^h^h^h^h more advanced state of completeness?

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (11)
As of 2017-03-24 15:06 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (304 votes). Check out past polls.