home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.perl
- Path: sparky!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!convex!news.utdallas.edu!corpgate!crchh327!news!veals
- From: veals@crchh606.bnr.ca (Percy Veals)
- Subject: Why does this cause a core dump??
- Message-ID: <VEALS.92Sep2103648@crchh606.bnr.ca>
- Sender: news@bnr.ca (News on crchh327)
- Nntp-Posting-Host: crchh606
- Organization: Bell Northern Research
- Date: Wed, 2 Sep 1992 15:36:48 GMT
- Lines: 29
-
- 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
- E-mail: veals@bnr.ca Richardson, TX
- Voice: (214) 684-4843
- -----------------------------------------------------------------
-
-
-
-
-
-
-
-
-
-
-