http://www.perlmonks.org?node_id=857154


in reply to Re^3: broke my perl? :(
in thread broke my perl? :(

Thanks! Worked like a charm! The /usr/bin/perl is still the old script i copied there but  perl -v again gives reasonable output. I guess this means apt-get is now separate from perl in newer ubuntu (i have lucid_lynx).

Another question, now I have created a new directory for my own scripts. How can I direct these scripts to perl since perl is no longer in /usr/bin/perl and neither /gsc/bin/perl?

Replies are listed 'Best First'.
Re^5: broke my perl? :(
by marto (Cardinal) on Aug 25, 2010 at 11:38 UTC

    "Another question, now I have created a new directory for my own scripts. How can I direct these scripts to perl since perl is no longer in /usr/bin/perl and neither /gsc/bin/perl?"

    Going back to my earlier reply, what does which perl show now? If you've reinstalled perl /usr/bin/perl should not be a script you put there previously.

      Thank you, just realized that after posting. It's now in /usr/local/bin/. So I hope everything is fine and dandy. Though I'm a bit afraid to restart my computer. Maybe I should make some backup...

        For clarification, could you post the output of file /usr/bin/perl?