Why does this cause a core dump?? 
Author Message
 Why does this cause a core dump??

Why does this fragment of code cause a core dump?

  $data{'myfile$data'} = "myfile.data";
  foreach ( keys %data ) {  
     rename($_, $data{$_}) || warn "Data file not found\n";
  }

I am running Perl4.035 on a HPUX 7.05 box. My old copy of
perl4.019 also dumps core.

Cheers--Percy Veals
--
-----------------------------------------------------------------
Percy Veals    #include <disclaimer.h>     Bell-Northern Research
                                           2201 Lakeside

Voice: (214) 684-4843
-----------------------------------------------------------------



Sun, 19 Feb 1995 23:36:48 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. function returning array cause of core dump?

2. using Getopt::Std::getopt causes core dump

3. Working with dbm files -- causes perl to dump core

4. This format caused core dump

5. mg, causes numerous core dumps

6. Unresolved symbol causes oraperl to dump core - help ?

7. delete causes a core dump.

8. man dbm access causes core dump on Sun 4/OS 4.03

9. MQSeries module causes core dump on HP-UX 11

10. Setting $- to 0 causes core dump

11. Config causing core dumps in threads

12. DBI & suidperl causes core dump

 

 
Powered by phpBB® Forum Software