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


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

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

Replies are listed 'Best First'.
Re^8: broke my perl? :(
by megnetz (Novice) on Aug 25, 2010 at 12:01 UTC
    sure: /usr/bin/perl: a /gsc/bin/perl script text executable

      Then your system perl is still broken because /usr/bin/perl should be an ELF executable. I suggest you move your script out of the way and try apt-get --reinstall perl again.

      My advice is to always leave the system perl alone and install your own perl for your own use in a separate directory.

      Update: forgot -- on --reinstall as I usually use aptitude.

        Are you sure this is necessary? Can I test if my system perl is broken? Everything seems to work fine.