in reply to Segmentation fault (core dumped)

Well as another monk has hinted, it could be your outdated userspace perl modules that are incompatible with your current (newer) Perl version.

# update your cpan cpan cpan # install these sudo apt-get install cpanminus cpanoutdated # upgrade all your modules with: cpan-outdated -p | cpanm | tee /tmp/upgraded.log

cpanm is verbose enough so that you know what is happening, however, it could take a while if you have many CPAN modules installed...

OR... it could be there is something fubar in your Perl base package, wipe it and install it:

sudo apt-get --reinstall install perl

you can check also other perl related installed software with: dpkg -l |grep -i perl and use  sudo apt-get --reinstall install $package to re-install it.

Replies are listed 'Best First'.
Re^2: Segmentation fault (core dumped)
by v15 (Sexton) on Sep 07, 2016 at 21:41 UTC
    Hi, I tried that but first of all cpan command is not working. Installed  sudo apt-get install cpanminus cpanoutdated Ran cpan-outdated -p | cpanm | tee /tmp/upgraded.log ran cpan again still the error Help!!
      What errors does "cpan" give? can you give me some output?