in reply to Re: Reg. Perl file Exe problem
in thread Reg. Perl file Exe problem

I'm guessing the .exe is a compiled Perl script. In any case, I don't see what we can do to help without more info. At a minimum, we'd need all of the following: a minimal script which causes the error, instructions on how to compile it, and instructions on how to run it (including all required input data).

Replies are listed 'Best First'.
Re^3: Reg. Perl file Exe problem
by Anonymous Monk on Aug 04, 2005 at 04:12 UTC

    Hi Monk, Sorry for the confusion, perl program was converted as .exe and it show error while running the .exe with huge inputs. But if I run in perl program, its working fine.

    I have placed the sample code below. I think problem is more than one index file and index file sample also placed below.

    Sample Inputs: 0521343434ind.xml

    <indexEntry> <primaryIE id="ind-pie-i00-184">bilingual education <pg>12, 81&ndash;4 +</pg></primaryIE> <secondaryIE id="ind-pie-i00-185">transitional <pg>55</pg></secondaryI +E> </indexEntry> <indexEntry> <primaryIE id="ind-pie-i00-186">Bilingual Education Act <pg>30</pg></p +rimaryIE> </indexEntry>

    Coding as Follows:

    foreach (@ind) { open (IND,"$fold\/body\/$_") or die ("$_ isnot opened chec +k\n"); local $/; my $ind=<IND>; while ($ind=~/id="(.*?)"/gi) { $indhash{$1}=$_; } close(IND); }

    Whether it may be memory problem. Please Give your suggestion.

    Regards,
    RIO