Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^3: broke my perl? :(

by moritz (Cardinal)
on Aug 25, 2010 at 10:02 UTC ( #857134=note: print w/replies, xml ) Need Help??


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

Is there anything else I can do before reinstalling Ubuntu?

You can try

sudo aptitude reinstall perl

I don't know if that will help, but it's certainly worth a try.

Perl 6 - links to (nearly) everything that is Perl 6.

Replies are listed 'Best First'.
Re^4: broke my perl? :(
by megnetz (Novice) on Aug 25, 2010 at 11:25 UTC
    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?

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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2020-11-25 16:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?