[6671] in Perl-Users-Digest
Perl-Users Digest, Issue: 296 Volume: 8
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Mon Apr 14 07:17:45 1997
Date: Mon, 14 Apr 97 04:00:20 -0700
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Perl-Users Digest Mon, 14 Apr 1997 Volume: 8 Number: 296
Today's topics:
Re: "system" on NT gordon.leslie.mcdorman@sap-ag.de
Re: -e command-line option <rfi@uebemc.siemens.de>
== equality comparism <n1835173@sparrow.qut.edu.au>
Re: == equality comparism <rra@stanford.edu>
[Q]about typeglobs and filehandles (Keiji yonezawa)
History Script <hale@netins.net>
Re: httpd server for win95 (Tad McClellan)
modem control <sip00@vg.swissptt.ch>
Newbie Question: regexp email address.. <ask@plys.net>
OraPErl , DBD0.44 (nataraj)
Re: Ousterhout and Tcl lost the plot with latest paper <ku@ca.nam.sc.dswollef>
Re: PERL C compiler & portability (Malcolm Beattie)
Re: Perl Database Question <critter@quack.kfu.com>
Re: Perl Database Question (Michael Fuhr)
Re: Perl on Windows 95 gordon.leslie.mcdorman@sap-ag.de
perl pattern matching <Hans.Suijkerbuijk@SD.BE>
Re: Please help me with a for loop to grab hostnames - (Matthew D. Healy)
Re: put data from web in a file <mgjv@comdyn.com.au>
QUESTIONS: how to use $self->SUPER:: with strict? (Terrence M. Brannon)
Re: Reply to Ousterhout's reply (was Re: Ousterhout and (Michael L. Siemon)
Re: Reply to Ousterhout's reply (was Re: Ousterhout and <fellowsd.cs@man.ac.uk>
Re: substituting with /g and simulating "lookbehind" <ole@tange.org>
Re: Unix and ease of use (WAS: Who makes more ...) (Hume Smith)
Re: Unix and ease of use (WAS: Who makes more ...) (Steve Mading)
Re: Unix and ease of use (WAS: Who makes more ...) (Steve Mading)
Re: Unix and ease of use (WAS: Who makes more ...) <jrchaff@jrchaff.seanet.com>
Digest Administrivia (Last modified: 8 Mar 97) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Mon, 14 Apr 1997 09:29:57 GMT
From: gordon.leslie.mcdorman@sap-ag.de
Subject: Re: "system" on NT
Message-Id: <u208elzoq.fsf@sap-ag.de>
Jim Becker <jbecker@syssol.com> writes:
> Here's an excerpt of a Perl script:
>
> $command = "c:\\apps\\blat\\blat $tempfile ";
> $command .= "-t webmaster\@syssol.com ";
> $command .= '-s "Request for Info" ';
> $command .= "-i $input{'email'}" if $input{'email'};
> print "<p>Command:<br>$command";
> system("$command");
Try something to the effect of:
print `$command`;
(instead of the last line). See Llama book ch. 14 for
discussion of differences between system() and backticks.
--
--------------------------------------------------------------
The opinions expressed above are mine, not my employer's
gordon.leslie.mcdorman@sap-ag.de
------------------------------
Date: 14 Apr 1997 10:10:39 +0200
From: Ronald Fischer <rfi@uebemc.siemens.de>
Subject: Re: -e command-line option
Message-Id: <xz2hghaf2io.fsf@uebemc.siemens.de>
>>>>> On Wed, 09 Apr 1997 11:02:15 -0700
>>>>> "Chris" == Chris Andrew <earl@bell.us> wrote:
Chris>
Chris> Can anyone tell me where to read more about the -e option or where to
Chris> find some examples of *larger* uses of it.
I wouldn't use -e for some "large" use anyway. You use -e for those
cases where you want to execute a Perl program, but do not want to put
it into a separate file, like:
perl -e 'while(<>){ print "$. $_"; }' -e 'print "DONE\n"' < ~/.login
--
Ronald Otto Valentin Fischer (PGP public key available on request)
business: ronald.fischer@uebemc.siemens.de
private: ronald.fischer@acm.org
http://ourworld.compuserve.com/homepages/ronald_fischer/
------------------------------
Date: Mon, 14 Apr 1997 14:35:03 +1000
From: THIAM YEO <n1835173@sparrow.qut.edu.au>
Subject: == equality comparism
Message-Id: <Pine.OSF.3.93.970414143412.2858B-100000@sparrow.qut.edu.au>
Hi there!
Does Perl have the opposite of the equality comparism ==? != and <>
doesn't seems to work.
Please advise.
==================================================================
Ervin Yeo Thiam Soon
Internet : ervinyeo@elf.brisnet.org.au
Fidonet : 6:600/237.0
------------------------------
Date: 13 Apr 1997 21:56:30 -0700
From: Russ Allbery <rra@stanford.edu>
To: THIAM YEO <n1835173@sparrow.qut.edu.au>
Subject: Re: == equality comparism
Message-Id: <qumwwq6i4n5.fsf@cyclone.stanford.edu>
[ Posted and mailed. ]
THIAM YEO <n1835173@sparrow.qut.edu.au> writes:
> Does Perl have the opposite of the equality comparism ==? != and <>
> doesn't seems to work.
!= is the opposite of == and ne is the opposite of eq. In what way was !=
not doing what you expected?
--
Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
------------------------------
Date: 14 Apr 1997 09:47:00 GMT
From: keiji-y@is.aist-nara.ac.jp (Keiji yonezawa)
Subject: [Q]about typeglobs and filehandles
Message-Id: <5isuek$sq2@fse3.aist-nara.ac.jp>
Page 51 of the new camel shows one example of open some file
and returning its refelence of filehandle. But I don't know
how to dereference it. Following code doesn't work:
print while(<$fh>);
Will someone please point out it?
Forgive my poor English. Thanks.
=========================================================
Keiji Yonezawa, NAIST death
http://cactus.aist-nara.ac.jp/~keiji-y/ life = $B"i(Bgive dt
mailto:keiji-y@is.aist-nara.ac.jp birth
------------------------------
Date: Sun, 13 Apr 1997 20:12:58 -0500
From: Jack Hale <hale@netins.net>
Subject: History Script
Message-Id: <3351849A.7BC0@netins.net>
Hello,
I am not a programmer, but I am looking for a simple perl
script that works like the back button on a web browser.
If this is possible, please email me, I do not check
newsgroups very often.
Thank you for your assistance,
Jacl Hale
hale@netins.net
------------------------------
Date: Sun, 13 Apr 1997 20:26:12 -0500
From: tadmc@flash.net (Tad McClellan)
Subject: Re: httpd server for win95
Message-Id: <k31si5.pue.ln@localhost>
Goce Dimitroski (goce@dcc.net.au) wrote:
: where can i get a httpd server for win95 so that i can test out my cgi
: stuff ?
I dunno. Perl does not need a server.
This _is_ the perl newsgroup ya know.
Please post your CGI questions in a newsgroup that has _some_
connection to CGI scripting, such as:
comp.infosystems.www.authoring.cgi
--
Tad McClellan SGML Consulting
Tag And Document Consulting Perl programming
tadmc@flash.net
------------------------------
Date: Mon, 14 Apr 1997 09:43:22 +0200
From: Philippe Simonet <sip00@vg.swissptt.ch>
Subject: modem control
Message-Id: <3351E01A.4460@vg.swissptt.ch>
Is there a module that handle modem control ?
Thanks for your response
Philippe Simonet
------------------------------
Date: Fri, 11 Apr 1997 23:28:44 +0200
From: Ask Bjxrn Hansen <ask@plys.net>
Subject: Newbie Question: regexp email address..
Message-Id: <334EACF1.62E9@plys.net>
Hello,
Sorry about the newbie posting .. but:
What's the best way to get an email address from a line like:
From: John Doe <jd@foo.com>
or
From: jd@foo.com
or
From: jd@foo.com (John Doe)
I only want to jd@foo.com part in either case..
Kind regards,
Ask
------------------------------
Date: Mon, 14 Apr 1997 05:09:41 GMT
From: nataraj@netcom.com (nataraj)
Subject: OraPErl , DBD0.44
Message-Id: <natarajE8M3o5.7J3@netcom.com>
I am trying to use OraPerl/DBD0.44 stuff to access
an ORACLE database.
Can experts let me know whether the above modules
support stored procedure calls with IN & OUT
parameters.
A quick repsonse to me email acct(nataraj@netcom.com)
would be greatly appreciated.
nataraj/.
nataraj@netcom.com
------------------------------
Date: 14 Apr 1997 09:58:29 GMT
From: Donal K. Fellows <ku@ca.nam.sc.dswollef>
Subject: Re: Ousterhout and Tcl lost the plot with latest paper
Message-Id: <5isv45$m66@m1.cs.man.ac.uk>
In article <334EF453.7C68@ajs.com>, Aaron Sherman <ajs@ajs.com> wrote:
> Good answers, but subtley incorrect. The original question (have a
> look above) was asking how many people TODAY would use TCL if
> YESTERDAY Tk wasn't there. I think the answer is that SOME expect
> use would be out there (not as much as there is today) and SOME misc
> other applications would be out there (e.g. config-file parsers,
> etc).
Then someone else would have developed a graphical toolkit for Tcl -
there are others out there (an offfering by SCO that I think combines
Tcl and Motif springs to mind, though I can't recall the name offhand)
but the existance of Tk has suppressed such development. Why do a lot
of hard grind when someone else has done it for you, and you can just
use their code, adding any enhancements needed?
In short, without Tk we might have had a different gfx toolkit (or
possibly several competing ones, all of lower quality) but that
capability would have still been there.
Myself, I recently developed (and I'm still developing) a network
simulation library, and the embedding in Tcl of the library has proved
to be of immense use. It has allowed the easy testing of code without
the interface on top (I must admit that I put a different, simpler
interface on instead :^) as well as the extension of the application
as a whole to handle new cases that were not considered at the
inception of the design without recompilation.
Donal.
--
Donal K. Fellows http://r8h.cs.man.ac.uk:8000/ (SAY NO TO COMMERCIAL SPAMS!)
(work) fellowsd@cs.man.ac.uk Dept. Comp. Sci, Univ. Manchester, U.K.
| donal@ugglan.demon.co.uk 6,Randall Place, Heaton, Bradford, U.K. (home)
+-> ++44-161-275-6137 Send correspondence to my office ++44-1274-401017 <-+
------------------------------
Date: 14 Apr 1997 10:22:53 GMT
From: mbeattie@sable.ox.ac.uk (Malcolm Beattie)
Subject: Re: PERL C compiler & portability
Message-Id: <5it0ht$d7q@news.ox.ac.uk>
Keywords: C compiler perl portability
In article <01bc482f$e5d2ee00$add1e98c@ns.middlebury.edu>,
Otis Gospodnetic <otisg@panther.middlebury.edu> wrote:
>Hi,
>
>I was wondering what kind of code PERL C compiler (Malcolm's) produces?
Really really ugly C that you don't want to look at unless you're the
sort of person that likes to pore over the intermediate RTL and
assembler code that your C compiler puts out.
>If I have a PERL script and I use this PERL C compiler to convert PERL to C
>code, will I be able to just take this C code and compile it with
>(cc/xlc,gcc) on anyother UNIX machine, or will I have to convert the PERL
>code to C on each machine separately?
>
>In other words, is the C code produced by this compiler 'portable' (will
>compile on any normal UNIX) ?
It should be portable. Since the compiler itself is really written
in Perl (it loads up your programs and needs some XSUBs to delve
through its own entrails), the output should be portable. Apart from
little things I haven't tried like what happens if you have a large
(i.e. > 2^32) integer constant for a Perl program you compile on a
64-bit machine and then compile the resulting C on a 32-bitter.
Whether the resulting compiler moan is a warning or an error
probably depends on your C compiler.
(alpha4 will be out sometime soon, honest: Real Life has been intruding).
--Malcolm
--
Malcolm Beattie <mbeattie@sable.ox.ac.uk>
Oxford University Computing Services
"Widget. It's got a widget. A lovely widget. A widget it has got." --Jack Dee
------------------------------
Date: Sun, 13 Apr 1997 18:59:38 -0700
From: "Charles F. Ritter" <critter@quack.kfu.com>
Subject: Re: Perl Database Question
Message-Id: <33518F8A.5EE1FAD1@quack.kfu.com>
Rob Mangiafico wrote:
>
> If I have a text database of say 20,000 one line records, and I want
> to open the file and set the file pointer on say the 15,000 record,
> what is the best way to go about this? I am using a text database and
> making it searchable by 50 entries at a time, and if the 51st entry
> is at line # 16,000, then it takes a while to search through the 1st
> 15,999 lines to get to this point. I would like to be able to open
> the file and set the file pointer to line 16,000 to begin getting the
> next xxx records. Basically I want to speed up the searching process
> by setting the file pointer / cursor to a known location in the file
> before resuming the search, instead of reading through the first
> gazillion entries that I have already searched through.
>
Are the records of fixed length? Use the "seek" and "read" functions to
1) position your pointer on a filehandle and 2) read records from the
filehandle and maintain your filehandle pointer location.
--
Charles Ritter
Microsoft NT - when they are finally finished it will be the best
documented unix operating system on the market.
------------------------------
Date: 13 Apr 1997 22:01:58 -0600
From: mfuhr@dimensional.com (Michael Fuhr)
Subject: Re: Perl Database Question
Message-Id: <5isa7m$qup@nova.dimensional.com>
[cc to author]
rmang@lexiconn.com (Rob Mangiafico) writes:
>If I have a text database of say 20,000 one line records, and I want
>to open the file and set the file pointer on say the 15,000 record,
>what is the best way to go about this? I am using a text database and
>making it searchable by 50 entries at a time, and if the 51st entry
>is at line # 16,000, then it takes a while to search through the 1st
>15,999 lines to get to this point. I would like to be able to open
>the file and set the file pointer to line 16,000 to begin getting the
>next xxx records. Basically I want to speed up the searching process
>by setting the file pointer / cursor to a known location in the file
>before resuming the search, instead of reading through the first
>gazillion entries that I have already searched through.
Are the lines of fixed or variable length? If fixed, you could
easily calculate the offset to a particular record and use seek()
to get there; see the perlfunc manual page for details.
You can also use DB_File/$DB_RECNO for both fixed- and variable-length
records. See the DB_File manual page for examples.
Hope this helps.
--
Michael Fuhr
http://www.dimensional.com/~mfuhr/
------------------------------
Date: Mon, 14 Apr 1997 09:47:54 GMT
From: gordon.leslie.mcdorman@sap-ag.de
Subject: Re: Perl on Windows 95
Message-Id: <uzpv2kkad.fsf@sap-ag.de>
millsjw@airmail.net (Walt Mills) writes:
> 1) Put Perl in the /cgi directory. (dangerous)
> 2) Call your script with
> http://yourserver.com/cgi/perl.exe?script.pl
Never do this. See <url:http://www.perl.com/perl/news/latro-announce.html>
for details.
See section 6 of the Perl for Win32 FAQ for information on configuring
Perl with HTTP servers:
<url:http://www.endcontsw.com/people/evangelo/Perl_for_Win32_FAQ.html>
--
--------------------------------------------------------------
The opinions expressed above are mine, not my employer's
gordon.leslie.mcdorman@sap-ag.de
------------------------------
Date: Mon, 14 Apr 1997 12:08:52 -0700
From: Hans Suijkerbuijk <Hans.Suijkerbuijk@SD.BE>
Subject: perl pattern matching
Message-Id: <335280C4.18FF@SD.BE>
Hi,
I'm rather new in the Perl-world, and I've got the following problem:
I've got a lot of documents in SGML and convert these documents on the
fly to HTML with Perl CGI-program (with success). Now I'm trying to
create a table of contents. I want to do this by replacing the content
of the <LID> text </LID> by "". As I'm not used to Perl, my question is:
"How to do this?".
for instance the following text:
$a =
"<ARTTIT>title-1</ARTTIT><LID>text1<LIST>listelement</LIST>text-continued</LID><ARTTIT>title-2</ARTTIT><LID>text2</LID><ARTTIT>title-3</ARTTIT><LID>text3</LID>";
the result must be:
<ARTTIT>title-1</ARTTIT>
<ARTTIT>title-2</ARTTIT>
<ARTTIT>title-3</ARTTIT>
I tried
$a =~ s|<LID>[\W\w]+</LID>||g;
but this eats also the <ARTTIT>'s
So, what's the best solution?
thanks!
------------------------------
Date: Thu, 10 Apr 1997 18:38:27 -0500
From: Matthew.Healy@yale.edu (Matthew D. Healy)
Subject: Re: Please help me with a for loop to grab hostnames - thanks
Message-Id: <Matthew.Healy-1004971838270001@pudding.med.yale.edu>
In article
<Pine.LNX.3.93.970403134535.3603M-100000@tartar.ulib.albany.edu>, Jon
Sykes <jsykes@tartar.ulib.albany.edu> wrote:
Well, I use the following very simple program:
rev_ip.pl -- does reverse DNS lookups:
#!/usr/local/bin/perl
while (<STDIN>) {
$ip_address = $_;
chop($ip_address);
print "$ip_address \t";
@numbers = split(/\./, $ip_address);
$ip_number = pack("C4", @numbers);
($name) = (gethostbyaddr($ip_number, 2))[0];
print "$name \n";
}
Note that I hardcode the address family parameter; strictly speaking
one should run h2ph on sockets.h and then use the named value $AF_INET
rather than hardcoding it! The value of 2 works under both SunOS and
Solaris.
It expects to find numerical IP addresses on its standard input, and
it does _no_ validation of input data formats. If you want to know
how to do that, buy Jeff Friedl's excellent book {Mastering Regular
Expressions}, published by O'Reilly and Associates. Excellent book!
I typically use standard Unix tools much as follows:
egrep 'string' logifile|cut -d' ' -f 1|egrep '(^[0-9.]+)'|sort -u|rev_ip.pl
This extracts the address field from lines containing 'string' in the logfile,
filters-out lines that don't look like numeric addresses, sorts with duplicates
removed, and pipes it to my script to get DNS names back.
Hope this helps.
---------
Matthew.Healy@yale.edu
http://paella.med.yale.edu/~healy
"But I thought it was pointed at the rabbit *between* my feet!"
------------------------------
Date: Mon, 14 Apr 1997 12:47:46 +1000
From: Martien Verbruggen <mgjv@comdyn.com.au>
Subject: Re: put data from web in a file
Message-Id: <33519AD2.757C@comdyn.com.au>
Bochenek Christophe wrote:
> #! /usr/local/bin/perl
> print "Content-type: text/html\n\n";
>
> $donnee=<stdin>;
>
> open(FILEHANDLE,">filea");
SURELY you mean
open(FILEHANDLE, ">filea") || die("Cannot open file: $!");
> print FILEHANDLE "$donnee";
> close FILEHANDLE;
This really isn't a perl question, and it certainly doesn't belong in
comp.lang.perl.modules. Next time you have a question like this, ask it
on one of the comp.infosystems.www.* groups. Also (and please don't be
offended by the name) read the "Idiot's guide to solving perl CGI
problems" and the various other FAQ's.
Very likely, the user who runs your web server has no write permissions
in the directory where you're trying to write the file. You get a 'no
data' error, because you don't print anything to stdout.
Martien
Hmmm, I must be in a good mood today
--
Martien Verbruggen |
Webmaster www.tradingpost.com.au | "In a world without fences,
Commercial Dynamics Pty. Ltd. | who needs Gates?"
NSW, Australia |
------------------------------
Date: 13 Apr 1997 20:55:53 -0700
From: brannon@bufo.usc.edu (Terrence M. Brannon)
Subject: QUESTIONS: how to use $self->SUPER:: with strict?
Message-Id: <ysizn2r2ntqb.fsf@bufo.usc.edu>
How can I fix this without hard references to the superclass? This
might make a nice FAQ. I just started using objects today, downloaded
Class::Template and ran into this brick wall.
main::(-e:1): 42
DB<1> use OBJ2
DB<2> $n = new OBJ2;
OBJ2 self: OBJ2Can't use string ("OBJ2") as a HASH ref while "strict refs" in use at (eval 5) line 4, <IN> chunk 2.
DB<3>
package OBJ2;
use Class::Template;
use OBJ;
@ISA= (OBJ);
members OBJ2 {
'd' => '@',
'c' => '$',
};
sub new {
my $self = shift;
print "OBJ2 self: $self";
my $r = InitMembers( $self->SUPER::InitMembers() );
bless $r;
}
1
--
o============o Sending unsolicited commercial e-mail (UCE) to this address
Legal Notice is indication of your consent to pay me $120/hour for 1 hour
o============o minimum for professional proofreading & technical assessment.
terrence brannon * brannon@kappa.usc.edu * http://rana.usc.edu:8376/~brannon
------------------------------
Date: Sun, 13 Apr 1997 23:18:14 -0400
From: mls@panix.com (Michael L. Siemon)
Subject: Re: Reply to Ousterhout's reply (was Re: Ousterhout and Tcl ...)
Message-Id: <mls-1304972318140001@mls.dialup.access.net>
In article <335190C0.7613@maths.anu.edu.au>, Graham Matthews
<graham.matthews@maths.anu.edu.au> wrote:
+Rainer Joswig wrote:
+> [lotsa stuff on Lisp and lambda calculus]
+> Still you don't need to represent everything
+> as a string.
+
+Surely you are not suggesting everything as a function :-) :-) [smileys
+again for the humour impaired]
_pace_ Kurt Goedel, what's the difference?
--
Michael L. Siemon mls@panix.com
"Green is the night, green kindled and apparelled.
It is she that walks among astronomers."
-- Wallace Stevens
------------------------------
Date: 14 Apr 1997 10:35:32 GMT
From: Donal K. Fellows <fellowsd.cs@man.ac.uk>
Subject: Re: Reply to Ousterhout's reply (was Re: Ousterhout and Tcl ...)
Message-Id: <5it19k$n8k@m1.cs.man.ac.uk>
In article <334EDC93.2376@maths.anu.edu.au>,
Graham Matthews <graham.matthews@maths.anu.edu.au> wrote:
[ Replying to JO ]
> I would like you ask you a question. You claim that the "everything is a
> string" approach is the be-all-and-end-all, the way to go, etc, etc. Why
> then has Tcl8.0 moved away from this philosophy?
Semantically it hasn't. It just now has a rather neat behind-the-scenes
way of caching the results of converting the value from a string into
something else (like a list or number) in case it gets used like that
again. You never see this though. It is transparent to the programmer
(unless you are coding an extension in C and want to use the faster
programming interface - you don't have to though) and all the user
sees are (sometines significantly) faster programs.
Donal.
--
Donal K. Fellows http://r8h.cs.man.ac.uk:8000/ (SAY NO TO COMMERCIAL SPAMS!)
(work) fellowsd@cs.man.ac.uk Dept. Comp. Sci, Univ. Manchester, U.K.
| donal@ugglan.demon.co.uk 6,Randall Place, Heaton, Bradford, U.K. (home)
+-> ++44-161-275-6137 Send correspondence to my office ++44-1274-401017 <-+
------------------------------
Date: Fri, 11 Apr 1997 18:05:51 +0200
From: Ole Tange <ole@tange.org>
To: Michael Krell <mk2h@clove.cs.Virginia.EDU>
Subject: Re: substituting with /g and simulating "lookbehind"
Message-Id: <334E615F.3BA2AF0D@tange.org>
Michael Krell wrote:
>
> My first stab at this is: $string =~ s|([^\\])\{|$1|g;
>
Not quite, but almost: s|[^\\]\{+||g; that ought to do it and is way
more efficient.
/Ole
------------------------------
Date: 14 Apr 1997 04:20:01 GMT
From: hclsmith@tallships.istar.ca (Hume Smith)
Subject: Re: Unix and ease of use (WAS: Who makes more ...)
Message-Id: <5isb9h$s6p@news.istar.ca>
In article <01bc4755$d60b7a80$32ee6fcf@timhome2>, tim@a-sis.com says...
>Still, if ghostscript did the job, why wouldn't printer manufacturers
>use it instead of licensing code from Adobe?
perhaps they don't like the requirements of the GPL.
f-ups to advocacy groups...
------------------------------
Date: 14 Apr 1997 01:07:58 -0500
From: madings@earth.execpc.com (Steve Mading)
Subject: Re: Unix and ease of use (WAS: Who makes more ...)
Message-Id: <5ishju$sac$1@earth.execpc.com>
Tim Behrendsen (tim@a-sis.com) wrote:
: We just had a thread on this not too long ago comparing gcc with
: several other compilers as far as optimization! And gcc clearly
: did not produce the best code.
: Is gcc an excellent compiler? Yes. Does it have a few bells and
: whistles that other compilers may not have? Yes.
: Is it the best compiler in the world bar none? No.
Is it even possible to choose a single compiler and claim that it
is the best compiler in the world bar none? No.
With things that are this highly varied, you can never choose
a single product and claim it beats out all other alternatives
in absolutely every single category. (Which is what it sounds
like you are looking for.)
That is the problem with your criteria. You are asking for something
that is impossible for commercial products as well as free ones.
------------------------------
Date: 14 Apr 1997 01:11:19 -0500
From: madings@earth.execpc.com (Steve Mading)
Subject: Re: Unix and ease of use (WAS: Who makes more ...)
Message-Id: <5ishq7$slr$1@earth.execpc.com>
Tim Behrendsen (tim@a-sis.com) wrote:
: Hm; compare PKZIP and gzip (PKZIP includes the gzip algorithm, I
: believe). PKZIP includes support for multiple files, spanning
: multiple floppies, and a zillion other features.
All of which are unnessacery on the Unix systems for which gzip
was intended. That's "tar"'s job.
Oh, and gzip also includes the pkzip algorithm too, so there's
no win either way there.
------------------------------
Date: Sun, 13 Apr 1997 11:53:25 -0700
From: John Chaffer <jrchaff@jrchaff.seanet.com>
Subject: Re: Unix and ease of use (WAS: Who makes more ...)
Message-Id: <33512BA5.23BEA30D@jrchaff.seanet.com>
Martin Sohnius x24031 wrote:
>
...
> And your definition of "successful" as applied to a social and political
> order ignores anything else but material gains. Is it really the
> purpose of society to make everyone work harder? Or rather to provide
> a worthwhile and happy life?
>
Martin:
That kind of puerile comment shows how ignorant socialists really,
really are. The total, utter failure of socialism to provide
anything but bankruptcy, chaos and finally, collapse has been
illustrated over and over, not least by your own nation. Certainly
you were aware (or were you) that the Soviet Union is no more?
What planet do you live on?
jrc
------------------------------
Date: 8 Mar 97 21:33:47 GMT (Last modified)
From: Perl-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Digest Administrivia (Last modified: 8 Mar 97)
Message-Id: <null>
Administrivia:
The Perl-Users Digest is a retransmission of the USENET newsgroup
comp.lang.perl.misc. For subscription or unsubscription requests, send
the single line:
subscribe perl-users
or:
unsubscribe perl-users
to almanac@ruby.oce.orst.edu.
To submit articles to comp.lang.perl.misc (and this Digest), send your
article to perl-users@ruby.oce.orst.edu.
To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.
To request back copies (available for a week or so), send your request
to almanac@ruby.oce.orst.edu with the command "send perl-users x.y",
where x is the volume number and y is the issue number.
The Meta-FAQ, an article containing information about the FAQ, is
available by requesting "send perl-users meta-faq". The real FAQ, as it
appeared last in the newsgroup, can be retrieved with the request "send
perl-users FAQ". Due to their sizes, neither the Meta-FAQ nor the FAQ
are included in the digest.
The "mini-FAQ", which is an updated version of the Meta-FAQ, is
available by requesting "send perl-users mini-faq". It appears twice
weekly in the group, but is not distributed in the digest.
For other requests pertaining to the digest, send mail to
perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
sending perl questions to the -request address, I don't have time to
answer them even if I did know the answer.
------------------------------
End of Perl-Users Digest V8 Issue 296
*************************************