From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,f56284b3d666e2a9 X-Google-Attributes: gidfee84,public From: speno@swarthmore.edu (John P. Speno) Subject: Re: Problem with a perl program , (Perl4.03) Date: 1995/08/09 Message-ID: <409ca2$237@gingko.cc.swarthmore.edu>#1/1 X-Deja-AN: 107754505 references: <407tau$rfe@sparcserver.lrz-muenchen.de> content-type: text/plain; charset=US-ASCII organization: Swarthmore College mime-version: 1.0 newsgroups: comp.unix.osf.osf1 In <407tau$rfe@sparcserver.lrz-muenchen.de> Max Hadersbeck writes: > s/\/\/[^\@]*@/\n/g; <<<<<<<<---------- this line produces a segmentation >fault ??? Why You need to escape the @ like this: s//\/[^\@]*\@/\n/g; or else perl thinks you are talking about some array variable. -- John P. Speno, speno@swarthmore.edu, Swarthmore College Computing Center "There is no wisdom greater than kindness."