[6536] in Perl-Users-Digest

home help back first fref pref prev next nref lref last post

Perl-Users Digest, Issue: 161 Volume: 8

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Sat Mar 22 19:07:20 1997

Date: Sat, 22 Mar 97 16:00:20 -0800
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)

Perl-Users Digest           Sat, 22 Mar 1997     Volume: 8 Number: 161

Today's topics:
     Re: cls || ClrScr?? <tchrist@mox.perl.com>
     Re: Cutting space <eric@nettown.com>
     Re: File upload (Simon Hyde (aka Jeckyll))
     ftplib.pl for Perl 5 <dubis@nortel.com>
     Getting .CGI extension to work on IIS 2.0 <audible@fox.nstn.ca>
     Re: Getting .CGI extension to work on IIS 2.0 <rootbeer@teleport.com>
     Help with so called Virtual Classes <kevina@clark.net>
     Help! Making a perl script write to a log sheet <audible@fox.nstn.ca>
     help!!!! <giblin@mail.idt.net>
     Re: Looking backwards through a text file <tibbs@hpc.uh.edu>
     making links on the fly (William Byrd)
     Re: making links on the fly (Nathan V. Patwardhan)
     Re: making links on the fly (Nathan V. Patwardhan)
     Re: Need to extract the text from Microsoft Word 6 file (Bruce Taylor)
     Re: pod2man & numbered =item list <tchrist@mox.perl.com>
     Re: printing Opened File (Simon Hyde (aka Jeckyll))
     Re: q: c style include command in perl? <tchrist@mox.perl.com>
     Solaris 2.5.1 libwww install: "Unable to find a perl 5" (William Denton)
     Re: Solaris 2.5.1 libwww install: "Unable to find a per (William Denton)
     Taking parameters from scrollboxes and then displaying  (Craig A. Keefner)
     Text::ParseWords Error <swanson@est07.md.essd.northgrum.com>
     Re: Unix and ease of use  (WAS: Who makes more ...) <tms2@postoffice.ptd.net>
     Re: Unix and ease of use  (WAS: Who makes more ...) (Steve Mading)
     Re: Vanishing string terminators and premature end of s (Brian L. Matthews)
     Re: Who makes more $$ - Windows vs. Unix programmers? - (Lisa Felix)
     Digest Administrivia (Last modified: 8 Mar 97) (Perl-Users-Digest Admin)

----------------------------------------------------------------------

Date: 22 Mar 1997 15:34:49 GMT
From: Tom Christiansen <tchrist@mox.perl.com>
Subject: Re: cls || ClrScr??
Message-Id: <5h0u6p$e1b$3@csnews.cs.colorado.edu>

 [courtesy cc of this posting sent to cited author via email]

In comp.lang.perl.misc, 
    peter@uhu.com writes:
:How do you clear the screen in perl ?

    system("clear");

for suitable values of "clear".

--tom
-- 
	Tom Christiansen	tchrist@jhereg.perl.com


People who deal with bits should expect to get bitten. --Jon Bentley


------------------------------

Date: Sat, 22 Mar 1997 12:19:55 +0000
From: Eric Poindexter <eric@nettown.com>
Subject: Re: Cutting space
Message-Id: <3333CE6B.1791659@nettown.com>

Clay Irving wrote:
> 
> In <33337244.E0F@nontri.ku.ac.th> Joruno Jobana <b39jrj@nontri.ku.ac.th> writes:
> 
> >Dear,
> >       I have one string with data.
> >>> $ST="abc    def  ghi     jkl";
> >       I want to separate this string to be sub string with space and
> >put it in array like this.
> >>> $A[0] = "abc"   $A[1] = "def"   $A[2] = "ghi"   $A[3] = "jkl"
> >       Someone tell me to use general expression. But I don't
> >know how to use it? Could you help me, please?
> 
> #!/usr/local/bin/perl5.003
> 
> $ST="abc    def  ghi     jkl";    # Your string
> 
> @A = split /\s+/, $ST;            # Split on one or more spaces
>                                   # and put the results in an array
> $i = 0;
> 
> for ($i .. $#A) {
>   print "\$A[$i] = $A[$i]\n";     # Print the elements of the array
>   $i++;
> }
> 
> Result:
> 
> $A[0] = abc
> $A[1] = def
> $A[2] = ghi
> $A[3] = jkl
> 
>

Note also that ' ' is a special case which ignores leading space (like
awk), i.e.
split ' ', $ST_with_leading_space;

I mention this because I always feel safer using this when doing
simuliar tasks. And it should be faster (it doesn't have to deal with
matching //).

Also the loop can be written as
for $a (@A) {
  print "\$A[$i] = $a\n";     # Print the elements of the array
}

--
Eric
<mailto:eric@nettown.com>
[http://nettown.com/site_perl/]
have a good day! (yes, Poindexter is Really my name)


------------------------------

Date: Sat, 22 Mar 1997 22:53:16 GMT
From: shyde@poboxes.com (Simon Hyde (aka Jeckyll))
Subject: Re: File upload
Message-Id: <333461cb.19916641@news01.uni-trier.de>

On Fri, 21 Mar 97 17:14:55 GMT, yinglee@hkstar.com (Yinglee) wrote:

>I am using WinNT4.0 + Perl 5 + Netscape 3 to upload file(binary) from client 
>to server. The size of uploaded file usually > 1Mb. So I can't use cgi-lib.pl
>I use the follow code to read from STDIN and write to a file.
>
I can't seem to find your code, but whatever it is i'd recommend
gettting CGI.pm (from http://www.perl.com/CPAN/modules/by-module/CGI)
and using this for file upload, it will let you work with the file
either by loading it all into memory or by using it as a filehandle,
removing the problem of filling up memory. If you are using print to
write the data back out to the file under windows/dos you must
remember to do a binmode(OUTFILEHANDLE); before doing anything.
---
Yours Sincerely,
                                      ,                     
   () o                              /|   |          |      
   /\     _  _  _    __   _  _        |___|        __|   _  
  /  \|  / |/ |/ |  /  \_/ |/ |       |   |\|   | /  |  |/  
 /(__/|_/  |  |  |_/\__/   |  |_/     |   |/ \_/|/\_/|_/|__/
                                               /|           
                                               \|           
(Simon Hyde)
/****************How To Contact Me******************\
|         Internet Email: shyde@POBoxes.com         |
\***************************************************/


------------------------------

Date: Sat, 22 Mar 1997 09:46:25 -0600
From: Jeff Dubis <dubis@nortel.com>
Subject: ftplib.pl for Perl 5
Message-Id: <3333FED1.5029@nortel.com>

Does anyone have the ftplib.pl library for Perl5?

Thanks,
Jeff


------------------------------

Date: 22 Mar 1997 17:45:18 GMT
From: "Brian Cohen" <audible@fox.nstn.ca>
Subject: Getting .CGI extension to work on IIS 2.0
Message-Id: <01bc36e8$9f82e700$8211ba89@master>

Hi All,

I was wondering if anyone knows how to get a file type with an extension of
".cgi" to run on IIS 2.0. I know how to get a ".pl" extension to work with
IIS 2.0 but that's about it.

Regards,

Michael.
audible@fox.nstn.ca


------------------------------

Date: Sat, 22 Mar 1997 11:57:23 -0800
From: Tom Phoenix <rootbeer@teleport.com>
To: Brian Cohen <audible@fox.nstn.ca>
Subject: Re: Getting .CGI extension to work on IIS 2.0
Message-Id: <Pine.GSO.3.96.970322115601.18839H-100000@kelly.teleport.com>

On 22 Mar 1997, Brian Cohen wrote:

> I was wondering if anyone knows how to get a file type with an extension
> of ".cgi" to run on IIS 2.0. I know how to get a ".pl" extension to work
> with IIS 2.0 but that's about it. 

Maybe people in a server newsgroup would know that, or maybe they've put
it in their FAQ. Around here we don't know nothing about servers, only
Perl. :-)

-- Tom Phoenix        http://www.teleport.com/~rootbeer/
rootbeer@teleport.com   PGP  Skribu al mi per Esperanto!
Randal Schwartz Case:     http://www.lightlink.com/fors/



------------------------------

Date: Sat, 22 Mar 1997 12:51:35 -0600
From: Kevin Atkinson <kevina@clark.net>
Subject: Help with so called Virtual Classes
Message-Id: <859056169.11546@dejanews.com>

I have a problem.

I have a Class that has class data (class defaults actually).

And I want to be able to create so called virtual classes (a new class
that behaves just like the real class but it is actually an object) that
have their own private class data.  (Mainly so that I declare the virtual
class using my in a function and be able to modify the defaults with out
effecting the defaults for other functions or outside of that function.)

And for some of the functions I need to able to tell if the thingie that
was passed in is an true object or a class which includes a virtual class.

And to make matters worse, because some of the objects take other objects
as arguments, I need to be able to tell if that object is an object of x
type (including an object created in a virtual class which creates the
same type of objects as the original class).

I would like to know of the best way of doing this with perl version 5.003
with out creating a hopeless mess. Any Ideas? I have a few ways in mind
but all of them will end up being a hopeless mess. Thanks in Advance for
any insight into this problem?

I need this for my Math::Fraction module which can be found on CPAN

Thanks Again,
Kevin A.

-------------------==== Posted via Deja News ====-----------------------
      http://www.dejanews.com/     Search, Read, Post to Usenet


------------------------------

Date: 22 Mar 1997 18:07:33 GMT
From: "Brian Cohen" <audible@fox.nstn.ca>
Subject: Help! Making a perl script write to a log sheet
Message-Id: <01bc36eb$bb265fc0$8211ba89@master>

Hi,

Can someone please tell me how to make a perl script write to a log sheet
so I can see who was on my web site and at what time. I would appreciate
the advice.

Thanks in advance!

Regards,

Michael
audible@fox.nstn.ca


------------------------------

Date: Sat, 22 Mar 1997 15:23:41 -0800
From: John Giblin <giblin@mail.idt.net>
Subject: help!!!!
Message-Id: <333469FD.46C2@mail.idt.net>

Hey everyone!


I have a little trouble with my perl script I got from a book, which I 
copied and pasted to notebook.  I keep getting Internal Error.  So I 
started eliminating sections to narrrow the problem down.  I ended with
#!/usr/local/bin/perl(the right location) and it still didn't work.  Is
it the fact I am using notepad?  Is there something I have to do to the
script besides chmod it?  This is driving me crazy!!!

-- 
===============================================================================
                               John W Giblin
		    Axis New York-Bar & Restaurant Guide
                   	   http://www.axisny.com
                            giblin@mail.idt.net
=============================================================================


------------------------------

Date: 22 Mar 1997 13:01:16 -0600
From: Jason L Tibbitts III <tibbs@hpc.uh.edu>
Subject: Re: Looking backwards through a text file
Message-Id: <ufavi6jycn7.fsf@sina.hpc.uh.edu>

>>>>> "CW" == Christopher Wright <mrchristopher@inorbit.com> writes:

CW> How do I go through a text file backwards rather than forwards without
CW> reading it into an array first ?

Pipe it through tac first?  Do I win a 'useless use of tac' award?

XYX:sina:~> man tac|tac
[...]
     standard output with the order of the records reversed.  The
     given or when a file name of  `-'  is  encountered,  to  the
     copies  each  given  file, or the standard input if none are
     This manual page documents the  GNU  version  of  tac.   tac
DESCRIPTION
[...]
-- 
      Jason L. Tibbitts III - tibbs@uh.edu - 713/743-8684 - 221SR1
System Manager:  University of Houston High Performance Computing Center
                1994 PC800 "Kuroneko"      DoD# 1723


------------------------------

Date: Sat, 22 Mar 1997 22:14:54 GMT
From: wcb4@erols.com (William Byrd)
Subject: making links on the fly
Message-Id: <5h1b47$n2j@boursy.news.erols.com>

I am new to perl, and am just laerning the language itself as a way to
do some stuff from web pages, so anything that my perl scripts output
must be able to print back through the web properly. I am fairly
experienced with HTML and the forms needed for links, but what I am
having a problem with is this I have written a script which does the
following:

reads through a text file with a
while (<file>){
} 
loop and pulls a substring out of the line it reads these value is
stored in $KEY1. I also want to pass another parameter called THING. I
want the program to then print back out the following type of
hyperlink


<A HREF="HTTP://WWW.COMPANY.COM/PROGRAM.CGI...
  ...?THING=VALUE&KEY1=yyyy>yyyy </A>

where yyyy is the contents of $KEY1

thus if it finds $KEY1 as "JOE" and THING is "BLOW", the hyper link
created out be:

<A HREF="HTTP://WWW.COMPANY.COM/PROGRAM.CGI...
 ...?THING=BLOW&KEY2=JOE">JOE</A>

the ellipses are just to continue to the next line

I tried something like

$href = "%3CA HREF=%22HTTP%3A//WWW>COMPANY.COM/PROGRAM.CGI%3F...
 ...THING%3DBLOW%26KEY2%3D".$KEY2."%22%3E".$KEY2."%3C/A%3E"

(this would substitute %xx hex values for all of the  <>"?& characters
in the required string, and yes, I need to store it in $href not just
print it because this is really just a sub of a main program that does
further work with $href, like formatting it in into a table)

This caused server configuration error to be returned.

any help from anyone out there would be greatly appreciated. I have
been looking for a program that does this so I can examine the code (I
think I can decypher enough code to figoure out what goes on) but have
not found one that works properly, as they all print the information
back into a file and then that file is dealt with by other programs.

Thanks
wcb4@erols.com




------------------------------

Date: 22 Mar 1997 20:00:16 GMT
From: nvp@shore.net (Nathan V. Patwardhan)
Subject: Re: making links on the fly
Message-Id: <5h1dog$mgp@fridge-nf0.shore.net>

William Byrd (wcb4@erols.com) wrote:
: I am new to perl, and am just laerning the language itself as a way to
: do some stuff from web pages, so anything that my perl scripts output
: must be able to print back through the web properly. I am fairly
: experienced with HTML and the forms needed for links, but what I am

Ooops.  Maybe I misread your question, but are you saying that the
information is stored like:

<A HREF="..." blah blah blah>

OR

http://www.somesite.com[delim]key1[delim]value[delim]

Please clarify, and I'll give it another whirl.  :-)

--
Nathan V. Patwardhan
nvp@shore.net



------------------------------

Date: 22 Mar 1997 19:56:54 GMT
From: nvp@shore.net (Nathan V. Patwardhan)
Subject: Re: making links on the fly
Message-Id: <5h1di6$mgp@fridge-nf0.shore.net>

William Byrd (wcb4@erols.com) wrote:
: I am new to perl, and am just laerning the language itself as a way to
: do some stuff from web pages, so anything that my perl scripts output
: must be able to print back through the web properly. I am fairly

I'd strongly suggest looking at HTML::LinkExtor which is included with
the LWP distribution.  With a little bit of work, it should do what you
want.

It might be helpful to check out the pod documentation inside of 
HTML::LinkExtor.

--
Nathan V. Patwardhan
nvp@shore.net



------------------------------

Date: Sat, 22 Mar 1997 21:47:49 GMT
From: Bruce.Taylor@hedb.uib.no (Bruce Taylor)
Subject: Re: Need to extract the text from Microsoft Word 6 files
Message-Id: <Bruce.Taylor.1068.859067269@hedb.uib.no>

In article <332FB234.41C6@sbs.siemens.co.uk> John Clutterbuck <John.Clutterbuck@sbs.siemens.co.uk> writes:

>I need to be able to reliably extract the text from files stored by
>Microsoft Word6 in either Word6 format (xxx.DOC) or Micrsofts RTF format
>(xxx.RTF) using either a perl function or a system call to a Unix
>utility (SGI Irix).

I haven't tried it myself, but at 
http:/user.cs.tu-berlin.de/~schwartz/pmh/laola.html
I found Martin Schwartz's LAOLA, a homemade description of Microsoft's
OLE document format.  One of the demonstration routines (written in
perl) is lhalw: Draws the text section out of a Word 6+ file.

Bruce
Bruce Taylor		                         Bruce.Taylor@hedb.uib.no
Det historisk-filosofiske fakultets edb-seksjon	 voice: +47 5558 2348
Universitetet i Bergen, Norway			 fax:   +47 5558 9655


------------------------------

Date: 22 Mar 1997 20:17:05 GMT
From: Tom Christiansen <tchrist@mox.perl.com>
Subject: Re: pod2man & numbered =item list
Message-Id: <5h1eo1$rb3$1@csnews.cs.colorado.edu>

 [courtesy cc of this posting sent to cited author via email]

In comp.lang.perl.misc, 
    rick@myra.com writes:
:I've been trying to get a chance to make a similiar change to pod2html,
:but just haven't had the time of late.  

If you do, please take the version from 

    http://www.perl.com/perl/scripts/pod2html-v2.0beta.shar.gz

--tom
-- 
	Tom Christiansen	tchrist@jhereg.perl.com

    I won't mention any names, because I don't want to get sun4's into
    trouble...  :-)     --Larry Wall in <11333@jpl-devvax.JPL.NASA.GOV>


------------------------------

Date: Sat, 22 Mar 1997 23:12:24 GMT
From: shyde@poboxes.com (Simon Hyde (aka Jeckyll))
Subject: Re: printing Opened File
Message-Id: <33376640.21057779@news01.uni-trier.de>

On Fri, 21 Mar 1997 04:38:16 GMT, vss@xtra.co.nz (Jeremy Coulter)
wrote:

>Hi There. 
>
>I am using the following  code in an attempt to open an HTML file for
>viewing.
>When I run the script from the command line, it works. But what I call
>the script from a Button event, POST, it dosn't siplay anything.

Well...firstly you need to print a header (print "Content-type: 
text/html\n\n" in this case) 
You should also supply the full path to the file as CGI is not
guaranteed to be run starting from it's own directory
>
>Is something wrong with my code ????
Actually on top of that there is something wrong with this bit of
perl:
>foreach $line (@lines) {
>print "@lines\n";
>
>}
this will go through the array @lines and for every element print out
the entire array, not that ellement. There is also no need to print
the \n since perl does not remove that when reading in from the file
so you should change this to:
foreach $line (@lines) {
print $lines;

}

---
Yours Sincerely,
                                      ,                     
   () o                              /|   |          |      
   /\     _  _  _    __   _  _        |___|        __|   _  
  /  \|  / |/ |/ |  /  \_/ |/ |       |   |\|   | /  |  |/  
 /(__/|_/  |  |  |_/\__/   |  |_/     |   |/ \_/|/\_/|_/|__/
                                               /|           
                                               \|           
(Simon Hyde)
/****************How To Contact Me******************\
|         Internet Email: shyde@POBoxes.com         |
\***************************************************/


------------------------------

Date: 22 Mar 1997 15:33:11 GMT
From: Tom Christiansen <tchrist@mox.perl.com>
Subject: Re: q: c style include command in perl?
Message-Id: <5h0u3n$e1b$2@csnews.cs.colorado.edu>

 [courtesy cc of this posting sent to cited author via email]

In comp.lang.perl.misc, 
    ils@pipcom.com (Scott Card) writes:
:Is there a c++ style include command in perl for including
:subroutines?

No, it doesn't work that way.  See 
    http://www.perl.com/perl/nmanual/pod/perlmod.html#Perl_Modules
for how it does work.

--tom
-- 
	Tom Christiansen	tchrist@jhereg.perl.com

/* This is the one truly awful dwimmer necessary to conflate C and sed. */
    --Larry Wall, from toke.c in the v5.0 perl distribution


------------------------------

Date: 22 Mar 1997 16:14:36 -0500
From: buff@interlog.com (William Denton)
Subject: Solaris 2.5.1 libwww install: "Unable to find a perl 5" is untrue!
Message-Id: <5h1i3s$sg9@gold.interlog.com>

(Note:  I was able to get around the problem, but since it seems an odd
error, and it may happen to someone else, I'll still post.)

Due to a crash, I'm having to move a bunch of Perl scripts from a
Linux box to a Sparc running Solaris 2.5.1.  perl -v says "This is
perl, version 5.003 with EMBED built under solaris at Feb 28 1997
12:28:21 + suidperl security patch."  This is /usr/local/bin/perl;
/usr/bin/perl is 5.002, but I don't think that's relevant.  gcc is
2.7.2.1.

I got CGI and IO and such in fine, no problems, then came libwww 5.07.

| wtd:elmer$ perl Makefile.PL 
| Checking for IO::Socket. ok
| Checking for Net::FTP... ok
| Checking for MD5 ....... ok
| Checking if your kit is complete...
| Looks good
| Unable to find a perl 5 (by these names: perl miniperl perl perl5
| perl5.003, in these dirs: /usr/local/bin /bin /usr/bin /sbin /usr/sbin
| /usr/contrib/bin /opt/gnu/bin /usr/X11/bin /usr/users/bin
| /usr/openwin/bin /usr/ccs/bin /export/home/wtd/bin . )
| Writing Makefile for libwww-perl

But ...

| wtd:elmer$ ls -l /usr/local/bin/perl* 
| -rwxr-xr-x   2 root  root    552536 Feb 27 20:58 /usr/local/bin/perl 
| -rwxr-xr-x   2 root  root    552536 Feb 27 20:58 /usr/local/bin/perl5.003
| -rwxr-xr-x   1 root  root     13855 Feb 27 20:58 /usr/local/bin/perlbug
| -rwxr-xr-x   1 root  root      8984 Feb 27 20:58 /usr/local/bin/perldoc

It really is there. Looking in the Makefile, I saw

| PERL = 0
| FULLPERL = 0
and later, again,
| FULLPERL = 0

so I set those to /usr/local/bin/perl, and - as I just found - it
worked.  So, there's nothing fatal here, but I wonder why this didn't
work.

I should also add I had the same problem with libnet, but repeatedly
deleting the entire directory in anger and eating some fudge cookies
magically made it work.  

Bill



-- 
-- 
William Denton : Toronto, Ontario, Canada : buff@interlog.com


------------------------------

Date: 22 Mar 1997 16:18:11 -0500
From: buff@interlog.com (William Denton)
Subject: Re: Solaris 2.5.1 libwww install: "Unable to find a perl 5" is untrue!
Message-Id: <5h1iaj$ft@gold.interlog.com>

Unnh.  Sorry for not posting to c.l.p.modules.  For some reason the
news server won't let me cancel my previous article so I could move
it.

Bill
-- 
-- 
William Denton : Toronto, Ontario, Canada : buff@interlog.com


------------------------------

Date: 22 Mar 1997 08:17:01 -0700
From: keefner@primenet.com (Craig A. Keefner)
Subject: Taking parameters from scrollboxes and then displaying a particular html file
Message-Id: <3333a264.40775141@news.primenet.com>

I want to take input parameters from 2 select boxes and then
if/an pazrameters equal something, then display a certain
html file.

There are 17 different html files I'd like to display based on whats
input so I want to avoid having all of them in the actual pl script
as sub routines to jump to and display.  I'd rather just call up
the existing file outside the script.

Any ideas?

Craig


------------------------------

Date: Sat, 22 Mar 1997 20:29:41 GMT
From: Ross Swanson <swanson@est07.md.essd.northgrum.com>
Subject: Text::ParseWords Error
Message-Id: <33344135.4F55@est07.md.essd.northgrum.com>

I get the following error:
Unmatched quote at ./vhd2abl.pl line 6

with the perl program:

use Text::ParseWords;
open(INP,"xx");
$/ = "";
@file = <INP>;       
$delimit = ';';                  
@words = quotewords($delimit,0,@file);

If I replace @file with a list of say 0..9 everything is ok.

Ross


------------------------------

Date: 22 Mar 1997 16:42:26 GMT
From: "Thomas M. Sommers" <tms2@postoffice.ptd.net>
Subject: Re: Unix and ease of use  (WAS: Who makes more ...)
Message-Id: <33340B47.3B29@postoffice.ptd.net>

Stephane Plattner wrote:
> 
> mwolfe@shrike.depaul.edu wrote:
> >
> > In the end Linux will bury MS.  Linux is open.  This means open
> > competition.  This means better products.  LINUX RULES.
> >
> 
> IMHO this answer contradicts to the basics of economics. Openess means
> to a great extent equality and equality prohibits competition.
> (communism). Competition rises only when differences exists and it's
> the market (or the environment), who dictates which product is better.
> 

It is openness that allows differences to exist. Look at the history of
PC hardware. The original IBM PC was open. Competition in today's
hardware market for the descendants of the PC is fierce, and the state
of the art is always moving. By contrast, the PS/2 was closed, and it is
now dead. In software, compare Unix to DOS/Windows. DOS was closed for
the most part (in the sense that much of its internals were undocumented
or otherwise hidden, and that source was not available), and only
advanced when it had competition from the likes of DR-DOS. Unix, on the
other hand, was and is much more open (not entirely, of course, but
today with FreeBSD, Linux, and the like it is very open).


------------------------------

Date: 22 Mar 1997 12:19:05 -0600
From: madings@earth.execpc.com (Steve Mading)
Subject: Re: Unix and ease of use  (WAS: Who makes more ...)
Message-Id: <5h17qp$40l$1@earth.execpc.com>

Stephane Plattner (NOSPAMplas@fmi.ch) wrote:
: IMHO this answer contradicts to the basics of economics. Openess means 
: to a great extent equality and equality prohibits competition. 
: (communism). Competition rises only when differences exists and it's 
: the market (or the environment), who dictates which product is better. 

This works great when the public is informed.  But this is not the
case with the computer software industry.  The vast majority of
the market is people who are clueless when it comes to computers.
In this kind of market the better product does not win, it's the
product that appeals best to simpletons that wins.

And as to your comment about openness, there are many cases where
open standards *help* rather than hurt competition.  Imagine if
different electric companies used different oscillation rates for
their AC electricity.  Now imagine home appliance makers having to
decide whether or not to make their products work on 50 Hz, or
60 Hz, or 65 Hz, and so on.  Whatever they end up choosing, the
electric company that happens to use that Hz will end up dominating
the market.  Thus competition is crushed, due to an arbitrary
detail that has nothing to do with the quality.  This is what the
computer software industry is like today.

Here's another example.  Imagine if each car manufacturer chose to
use a different 'secret' formula for the gasoline for their cars,
instead of the current case where all cars run on the same kind
of gas.  If you bought a Ford, you'd have to use gas stations that
carried Ford gasoline.  If you bought a Toyota, you'd have to use
gas stations that carried Toyota gasoline, and so on.  Consider
if you wanted to buy a Porsche.  Since most people don't have a
Porsche, there would be very few gas stations that carried Porsche
gas.  Your Porsche would be virtually unusable because of this.
Then you find all sorts of Ford escort owners telling you how their
car is much better than your "out of date" Porsche.  "Nobody uses
Porsches anymore".  "You can't even get gas for those things."
"Why don't you get something more modern, like my Ford Escort?"

If you were a car afficianado, wouldn't you find this a bit
frustrating and annoying, knowing full well that the Porsche
is better than an Escort, and it was trivial market forces
that killed it?

(For this example to work, you have to imagine that the formula
for car's gasoline is secret and it is illegal to reverse-engineer
it.)

This is exactly what the computer software industry is like today.

The right kind of open standards will *HELP* capitalism, not hurt it.

Closed standards like those that come from Redmond, Washington,
reduce the ability for fair competition.


: -- 
: Best
: Stephane Plattner
: DMS - Digitale Medien Systeme
: Broadcast Communication Technologies

: For reply remove NOSPAM!


------------------------------

Date: 22 Mar 1997 12:29:16 -0800
From: blm@halcyon.com (Brian L. Matthews)
Subject: Re: Vanishing string terminators and premature end of script headers
Message-Id: <5h1fes$k9s$1@halcyon.com>

In article <33331496.1CA@sybex.com>, Matt Riggsby  <mriggsby@sybex.com> wrote:
|Needless to say, I've checked and I can find the header myself.  The
|problematic code goes something like this:

If you post "something like" the code you're using, you shouldn't be
surprised when you only get "something like" an answer. In fact, the
code you post is correct and works fine. So obviously either a) the
code you posted isn't *exactly* like the code you're using, or b) the
problematic code is elsewhere in your script.

|access to (the script) failed for (me), reason: Premature end of script
|headers

This usually means the server isn't seeing the Content-Type: header
first, which is probably happening because your script isn't running
because of the error above.

Brian
-- 
Brian L. Matthews				Illustration Works, Inc.
	For top quality, stock commercial illustration, visit:
		  http://www.halcyon.com/artstock


------------------------------

Date: Sat, 22 Mar 1997 12:13:22 -0600
From: lfelix@crosscom.com (Lisa Felix)
Subject: Re: Who makes more $$ - Windows vs. Unix programmers? - THE COMPANY !
Message-Id: <lfelix.272.004BD593@crosscom.com>

the company.


------------------------------

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 161
*************************************

home help back first fref pref prev next nref lref last post