Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Segmentation fault (core dumped)

by choroba (Cardinal)
on Sep 06, 2016 at 21:59 UTC ( [id://1171271]=note: print w/replies, xml ) Need Help??


in reply to Segmentation fault (core dumped)

Note that there's no space between perl and -w :
#!/usr/bin/perl-w ^ | HERE

What do you get from perl -v on both the systems?

($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,

Replies are listed 'Best First'.
Re^2: Segmentation fault (core dumped)
by v15 (Sexton) on Sep 06, 2016 at 22:07 UTC
    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!!
      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??

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (3)
As of 2024-04-24 13:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found