Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re^2: How to run perl5.21.3 as "perl"

by tobyink (Canon)
on Aug 19, 2014 at 00:38 UTC ( #1097920=note: print w/replies, xml ) Need Help??

in reply to Re: How to run perl5.21.3 as "perl"
in thread How to run perl5.21.3 as "perl"

bash doesn't have a built-in which? tcsh does, which is quite handy...

$ which perl /home/tai/perl5/perlbrew/perls/perl-5.20.0/bin/perl $ which ls ls: aliased to ls --color=tty $ which which which: shell built-in command.

Replies are listed 'Best First'.
Re^3: How to run perl5.21.3 as "perl"
by ikegami (Pope) on Aug 19, 2014 at 02:20 UTC

    You seem to have stopped reading my post before the second paragraph. The whole point of my post was to show how to do what tcsh's which does.

    $ type perl perl is /home/ikegami/usr/perlbrew/perls/5.20.0t/bin/perl $ perl -e1 $ type perl perl is hashed (/home/ikegami/usr/perlbrew/perls/5.20.0t/bin/perl) $ type ls ls is aliased to `ls -F -1 --color=auto' $ type type type is a shell builtin

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1097920]
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: (9)
As of 2021-10-21 12:35 GMT
Find Nodes?
    Voting Booth?
    My first memorable Perl project was:

    Results (83 votes). Check out past polls.