in reply to Re: Segmentation fault (core dumped)
in thread Segmentation fault (core dumped)

Hello There are no 2 systems. Only one system. Running 2 codes, one which does not have a line for use Data::Dumper and one that has it. I fixed the -w thing but still same error. Also typing cpan on the command gives segmentation error. Same goes with this code
perl -MCPAN -e shell
perl -v gives this

This is perl 5, version 22, subversion 1 (v5.22.1) built for x86_64-linux-gnu-thread-multi (with 58 registered patches, see perl -V for more detail) Copyright 1987-2015, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page

Help Please!!

Replies are listed 'Best First'.
Re^3: Segmentation fault (core dumped)
by choroba (Cardinal) on Sep 06, 2016 at 22:13 UTC
    It might be possible that the newer Perl version finds the older version's CPAN modules (but it shouldn't happen under the standard config). Check your configuration and module versions, $PERL5LIB variable, CPAN config, etc.

    ($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,
      Hi, Can you tell me how to do that??