in reply to Tcl module in perl segmentation fault for perl executable and not for perl script

What did you do that is not working? Be specific
  • Comment on Re: Tcl module in perl segmentation fault for perl executable and not for perl script

Replies are listed 'Best First'.
Re^2: Tcl module in perl segmentation fault for perl executable and not for perl script
by Ravi507 (Initiate) on Oct 18, 2016 at 06:45 UTC

    I have written a perl script which uses tcl data for calculation. ( Tcl module )

    If I execute the script by setting env variable it wont give segmentation fault.

    #!/usr/bin/perl BEGIN { $ENV{PERL_DL_NONLAZY} = 1; } use strict; use Tcl;

    It is breaking at use Tcl syntax if I unhash this it will run.

    If I convert the script to executable it is throwing segmentation fault

    error info segmentation fault core dumped

    perl version 5.8.8

    Tcl module version 1.05

    Tcl version installed in the system 8.5

      Hi, I suggested more specific