[8144] in Perl-Users-Digest

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

Perl-Users Digest, Issue: 1762 Volume: 8

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Thu Jan 29 15:07:22 1998

Date: Thu, 29 Jan 98 12:00:21 -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           Thu, 29 Jan 1998     Volume: 8 Number: 1762

Today's topics:
    Re: 5 REAL languages (was: Re: AOL SPAM) <wmeahan@ford.com>
    Re: ARRAYS  of filehandles  posssible ?!? <tchrist@mox.perl.com>
    Re: chown -h <khera@kciLink.com>
        Converting to Leadingcap format? <noel@integrityonline.com>
    Re: email address (Craig Berry)
    Re: FAQ too big (Was: Re: PERL forking) <tchrist@mox.perl.com>
    Re: Freidl's book mystery (Chip Salzenberg)
        Help needed: I cannot seem to get this variable to subs (Sylvain Juneau)
    Re: How can i create with perl a directory on a windos  (Earl Hood)
    Re: how do I install on BSDI 3.1? <khera@kciLink.com>
        HTML -> LaTeX <patrice@bnp-eng.remcomp.com>
        my (confusion) = deref'ing a hash of hashs brian.osborne@cadus.com
    Re: open in append mode <tchrist@mox.perl.com>
    Re: open in append mode <barnett@houston.Geco-Prakla.slb.com>
    Re: Perl 5.0, IIS 4.0, and writing to files. (Earl Hood)
        regex with variables? (Doug)
    Re: regexes: fun with /x (Ilya Zakharevich)
        Restoring state with CGI.pm <verzani@postbox.csi.cuny.edu>
    Re: Seek Help for copying binary files <barnett@houston.Geco-Prakla.slb.com>
    Re: size limit to the length of a perl script cotal@delphi.com
    Re: Survival Of perl (Andrew M. Langmead)
        Testing : Any 'expect' for NT ? <frederic.corne@erli.fr>
    Re: Why can't I unzip? (David B. White)
    Re: Why can't I unzip? <barnett@houston.Geco-Prakla.slb.com>
        Digest Administrivia (Last modified: 8 Mar 97) (Perl-Users-Digest Admin)

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

Date: Thu, 29 Jan 1998 14:32:47 -0500
From: Bill Meahan <wmeahan@ford.com>
Subject: Re: 5 REAL languages (was: Re: AOL SPAM)
Message-Id: <34D0D95F.595@ford.com>

John Porter wrote:
> 
> Adam Turoff wrote:
> >
> > I assume you mean (not necessarily in order):
> >         C/C++/Java, FORTRAN, Assembly Language, COBOL, Lithp/Scheme.
> 
> Actually I was thinking
>         Intercal
>         Pilot
>         Postscript
>         Trac
>         Python
> 
> John Porter

Awww, not:

   SPS|FOCAL|PIL|RPG|FORTH??

(I haven't done RPG but as far as the rest ...)
--
Bill Meahan  wmeahan@ford.com
Ford Motor Company -- Operational Support Tools
Not an official statement of Ford Motor Company or anyone else
except the author.


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

Date: 29 Jan 1998 14:58:22 GMT
From: Tom Christiansen <tchrist@mox.perl.com>
Subject: Re: ARRAYS  of filehandles  posssible ?!?
Message-Id: <6aq5ee$mnr$4@csnews.cs.colorado.edu>

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

In comp.lang.perl.misc, 
    Claus van de Vlierd <vlierd@uni-oldenburg.de> writes:
:As a PERL-novice 

Who hasn't read the FAQ...

:I would like to call a subroutine
:  with a parameter which contains  an array of 
:  FileHandles which  this subroutine should use to read the
:  approppiate files --- but unfortunately I  do not know
:  how to do this.
:
:Is it possible ?! and if  "yes"   : HOW ?!?

perlfaq5

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

Real programmers can write assembly code in any language.   :-)  
                --Larry Wall in  <8571@jpl-devvax.JPL.NASA.GOV>


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

Date: 29 Jan 1998 14:05:18 -0500
From: Vivek Khera <khera@kciLink.com>
Subject: Re: chown -h
Message-Id: <x71zxrp0cx.fsf@kci.kciLink.com>

>>>>> "TP" == Tom Phoenix <rootbeer@teleport.com> writes:

TP> On 23 Jan 1998, Mark Moe wrote:
>> Hi, I'm using perl's chown on a symlink, but it follows the link.
>> Is there a way to make it change the owner and/or group of the
>> link itself?  (like the -h option to the unix chown)

TP> As others have pointed out, this doesn't usually make any difference in
TP> the real world. But (on my system, at least) it's done by means of the
TP> lchown(2) call, which you can call from Perl with syscall(), perhaps like
TP> this (untested) code. (Untested because I don't have a machine handy which
TP> lets me give away files! :-) 

Also note that on some file systems, such as the BSD/OS 2.1 ffs,
symlinks do not have owners separately from the directory in which
they exist -- they are stored in the directory, not as seperate
files.  Thus, this operation doesn't make sense in all cases.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.                Khera Communications, Inc.
Internet: khera@kciLink.com       Rockville, MD       +1-301-258-8292
PGP/MIME spoken here              http://www.kciLink.com/home/khera/


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

Date: Thu, 29 Jan 1998 10:45:28 +0000
From: Mike Noel <noel@integrityonline.com>
Subject: Converting to Leadingcap format?
Message-Id: <34D05DC8.5971A17A@integrityonline.com>

Ok.  This is mostly for the amusement of the experienced perl hacks.
You know how it is when you just want something to work and it doesn't
have to be pretty? Several times I've had to convert a string from mixed
case to Leadingcap format (eg, "miKe" -> "Mike").  I am imagining that
there is a super slick way to do this but here's my solution.

What's the one liner?

sub fixccard
{
    # This sub fixes the card name to the Leadingcap format.
    local($name) = $_[0];

    $name =~ tr/A-Z/a-z/;
    $name =~ /^(\w)/;
    $letter = $1;
    $letter =~ tr/a-z/A-Z/;
    $name =~ s/^(.)/$letter/;
    return($name);
}

Mike Noel
Integrity Online International
noel@integrityonline.com




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

Date: 29 Jan 1998 18:18:32 GMT
From: cberry@cinenet.net (Craig Berry)
Subject: Re: email address
Message-Id: <6aqh5o$e3o$1@marina.cinenet.net>

G. E. Terry (admin@net-ops.net) wrote:
: Thanks to all who posted, and the Address FAQ gave me more
: information about email addresses that I could ever use.... :)

I think a good general policy is that email address validation should be 
done as a suggestion, not a show-stopping error.

So, for example, if $email were obtained from the user, I might write:

  if ($email !~ /\S/) {
    # Reject the address, it's all whitespace.
  }
  elseif ($email !~ /@/) {
    # Confirm that the user really meant a local address.
  }
  else {
    # Use the email address without further comment.
  }

You may choose to be more ambitious about finding potential problems,
at the cost of increasing the false-positive rate.

Any warnings or confirmation requests issued under this scheme should
be careful to be of the form 'It appear that the address you entered
may be invalid' rather than 'Invalid address!', given the huge and
complex space of potentially valid addresses.

---------------------------------------------------------------------
   |   Craig Berry - cberry@cinenet.net
 --*--    Home Page: http://www.cinenet.net/users/cberry/home.html
   |      Member of The HTML Writers Guild: http://www.hwg.org/   
       "Every man and every woman is a star."


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

Date: 29 Jan 1998 14:52:55 GMT
From: Tom Christiansen <tchrist@mox.perl.com>
Subject: Re: FAQ too big (Was: Re: PERL forking)
Message-Id: <6aq547$mnr$2@csnews.cs.colorado.edu>

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

In comp.lang.perl.misc, 
    MARTIN@RADIOGAGA.HARZ.DE writes:
:Exactly my opinion, too, with regard to PoBs. What the hell is a "KLB"??

KLB is an acronym for `Known Lazy Bastard', aka non-FAQ reader, aka person
who would rather make someone take their time to explain something basic
than look it up in a FAQ.

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


There is no problem so small that it can't be blamed on Datakit --Andrew Hume


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

Date: Thu, 29 Jan 1998 19:43:49 GMT
From: chip@mail.atlantic.net (Chip Salzenberg)
Subject: Re: Freidl's book mystery
Message-Id: <6aqm88$8gn$1@cyprus.atlantic.net>

According to tchrist@mox.perl.com (Tom Christiansen):
>In comp.lang.perl.misc, chip@pobox.com writes:
>:The patch in question copies the matched string on each iteration of
>:scalar m//g *ONLY* if it will be needed because (1) there are parens
>:in the pattern, so the values of $1 etc must be preserved
>:indefinitely
>
>Which is what you have to do if you're lexing.

Yes, quite.  So it was a bit of a slowdown for that purpose.
OTOH, it was only a _bit_, not the absurd factor mentioned earlier.
-- 
Chip Salzenberg               - a.k.a. -                <chip@pobox.com>
    Like Perl?  Want to help out?  The Perl Institute: www.perl.org
           ->  Ask me about Perl training and consulting  <-
             "It's the lemon zester of death!!"   // MST3K


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

Date: Thu, 29 Jan 1998 19:40:14 GMT
From: sjuneau@microtec.net (Sylvain Juneau)
Subject: Help needed: I cannot seem to get this variable to substitute in this pattern
Message-Id: <34d2d278.17726993@news.cmc.ec.gc.ca>


I cannot seem to get this variable to substitute in this pattern:
/^$client_prod_list[$b]/



 $count1=@client_prod_list;
 for($b=0;$b<=$count1;$b++)
 {
 open(PRODUCTFILE, ">> /usr/cmis/cmisx/prodfile") || die "Can't
open:$!\n";
 @ARGV="/users/operator/cislist";
 while (<>)
 {
 if(/^$client_prod_list[$b]/)
 {
 print PRODUCTFILE;
 }
 }
 }
  What I want it to do:

- open  prodfile for writing in it. OK
- open cislist to get line containing pattern. OK
- while going through the file match pattern NOT OK
  It comes back with an error:

Use of uninitialized value at /usr/cmis/cmisx/cz line 79, <> chunk
915. (line 79 is if(/^$client_prod_list[$b]/)  )  

It is initialize since I can print that array @client_prod_list

Thank you in advance


Sylvain

e-mail sjuneau@microtec.net


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

Date: 29 Jan 1998 18:20:56 GMT
From: ehood@medusa.acs.uci.edu (Earl Hood)
Subject: Re: How can i create with perl a directory on a windos nt 4.0 peer web server?
Message-Id: <6aqha8$iel@news.service.uci.edu>

In article <O0IiZLFL9GA.138@upnetnews02.moswest.msn.net>,
Hagen <insel@msn.com> wrote:

>mkdir("$form_data{'dir_name'}",$permissions);

You should check the return value of mkdir to see if it succeeded.
And if not, examine $! to see what the problem was.

	--ewh
-- 
             Earl Hood              | University of California: Irvine
      ehood@medusa.acs.uci.edu      |      Electronic Loiterer
http://www.oac.uci.edu/indiv/ehood/ | Dabbler of SGML/WWW/Perl/MIME


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

Date: 29 Jan 1998 14:21:26 -0500
From: Vivek Khera <khera@kciLink.com>
To: SysAdmin <root@wingnet.net>
Subject: Re: how do I install on BSDI 3.1?
Message-Id: <x7zpkfnl1l.fsf@kci.kciLink.com>

>>>>> "S" == SysAdmin  <root@wingnet.net> writes:

S> I've gotten the latest Perl (5.004).  I tried going through a default

That's not the latest perl.  The latest perl is 5.004_04

S> installation and got error messages after running make.

S> Does anyone have any pointers for installing on a BSDI 3.1 system?

Yes.  Hanging out at bsdi-users@bsdi.com also helps find bsdi specific 
help on many topics...

The trick is to apply this patch to your perl 5.004_04 sources then
reconfigure and build.

--cut here--
--- hints/bsdos.sh.dist	Wed Sep 10 09:34:42 1997
+++ hints/bsdos.sh	Tue Nov  4 12:04:58 1997
@@ -3,7 +3,7 @@
 # hints file for BSD/OS (adapted from bsd386.sh)
 # Original by Neil Bowers <neilb@khoros.unm.edu>; Tue Oct  4 12:01:34 EDT 1994
 # Updated by Tony Sanders <sanders@bsdi.com>; Sat Aug 23 12:47:45 MDT 1997
-#     Added 3.1 with ELF dynamic libraries
+#     Added 4.0 with ELF dynamic libraries
 #     SYSV IPC tested Ok so I re-enabled.
 #
 # To override the compiler on the command line:
@@ -69,7 +69,7 @@
 	'')	cc='gcc2' ;;
 	esac
 	;;
-2.0*|2.1*|3.0*)
+2.0*|2.1*|3.0*|3.1*)
 	so='o'
 
 	# default to GCC 2.X w/shared libraries
@@ -88,14 +88,14 @@
 	libswanted="Xpm Xaw Xmu Xt SM ICE Xext X11 $libswanted"
 	libswanted="rpc curses termcap $libswanted"
 	;;
-3.1*)
-	# ELF dynamic link libraries starting in 3.1
+4.0*)
+	# ELF dynamic link libraries starting in 4.0
         useshrplib='true'
 	so='so'
 	dlext='so'
 
 	case "$cc" in
-	'')	cc='cc'			# cc is gcc2 in 3.1
+	'')	cc='cc'			# cc is gcc2 in 4.0
 		cccdlflags="-fPIC"
 		ccdlflags=" " ;;
 	esac
--cut here--


-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.                Khera Communications, Inc.
Internet: khera@kciLink.com       Rockville, MD       +1-301-258-8292
PGP/MIME spoken here              http://www.kciLink.com/home/khera/


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

Date: Thu, 29 Jan 1998 19:46:39 +0100
From: Elie Patrice <patrice@bnp-eng.remcomp.com>
Subject: HTML -> LaTeX
Message-Id: <34D0CE8F.265B5468@bnp-eng.remcomp.com>

Hi,

I'm looking for a converter from HTML format to LaTeX preferably for
Perl. Anyone ??

Thanks
		Patrice


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

Date: Thu, 29 Jan 1998 13:21:37 -0600
From: brian.osborne@cadus.com
Subject: my (confusion) = deref'ing a hash of hashs
Message-Id: <886101613.1206059017@dejanews.com>

To the group,

I hope this letter finds you well. Here's an example of the thing
that's haunting me (yes, I've read perlref and perldsc, though
perhaps not well) :

#!/usr/local/bin/perl -w

$myH{"a"}->{1} = "first";
$myH{"a"}->{2} = "second";
$myH{"a"}->{3} = "third";

$myName = "my" . "H";

@myA = sort keys %$myName{"a"};

print "@myA";


You can see that I'm aiming at printing :

1 2 3

What I see is the error :

Can't use subscript on hash deref at ./tmp.pl line 14 near "};
(Did you mean $ or @ instead of %?)

I've tried various things like %{$myName}{"a"}, %{$myName["a"}},
etc., to no avail!


Thanks for your attention to this matter,

Brian O.
brian.osborne@cadus.com

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


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

Date: 29 Jan 1998 14:56:29 GMT
From: Tom Christiansen <tchrist@mox.perl.com>
Subject: Re: open in append mode
Message-Id: <6aq5at$mnr$3@csnews.cs.colorado.edu>

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

In comp.lang.perl.misc, 
    Chad R Cordero <ccordero@wiley.csusb.edu> writes:
:For some reason I can't figure out how to append text to a file.  I
:originally tried the following:
:
:	open(FILE, ">>file");
:		print FILE ("$variable");
:	close(FILE);
:
:but that failed.  I have gone through all of the books in my office to
:find an example for open in append mode but cannot find one.  What am I
:doing wrong?  How should I do this?

Big thing:
    Check the return value of all system calls.
    Check the return value of all system calls.
    Check the return value of all system calls.

Small Thing:
    Text record are newline-terminated.  

Thing of dubious relevance.
    Don't quote variables that quote-mutilate.

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

    tmps_base = tmps_max;                /* protect our mortal string */
        --Larry Wall in stab.c from the perl source code


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

Date: Thu, 29 Jan 1998 12:53:35 -0600
From: Dave Barnett <barnett@houston.Geco-Prakla.slb.com>
Subject: Re: open in append mode
Message-Id: <34D0D02F.D0DDC528@houston.Geco-Prakla.slb.com>

Chad R Cordero wrote:
> 
> For some reason I can't figure out how to append text to a file.  I
> originally tried the following:
> 
>         open(FILE, ">>file");
Try:
	open(FILE, ">>file") or die "cannot open: $!\n";

You should always check the return code ($!), as it may tell you
something very valuable.

HTH.

Dave

>                 print FILE ("$variable");
>         close(FILE);
> 
> but that failed.  I have gone through all of the books in my office to
> find an example for open in append mode but cannot find one.  What am I
> doing wrong?  How should I do this?
> 
> Any help is appreciated.
> 
> Chad Cordero

-- 
"Security through obscurity is no security at all."
		-comp.lang.perl.misc newsgroup posting

------------------------------------------------------------------------
* Dave Barnett               U.S.: barnett@houston.Geco-Prakla.slb.com *
* DAPD Software Support Eng  U.K.: barnett@gatwick.Geco-Prakla.slb.com *
------------------------------------------------------------------------


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

Date: 29 Jan 1998 18:59:51 GMT
From: ehood@medusa.acs.uci.edu (Earl Hood)
Subject: Re: Perl 5.0, IIS 4.0, and writing to files.
Message-Id: <6aqjj7$jiv@news.service.uci.edu>

In article <Pine.GSO.3.96.980128145456.29464A-100000@bvsd.k12.co.us>,
Jason Vallery  <vallery@bvsd.k12.co.us> wrote:
>I have had great sucess thanks to the help of everyone on this group
>actually getting Perl up and running with IIS. Now my probably is taking
>an existing program and getting it to work on NT from Unix. I have user

Looks like another PoB.

>perl for a while now and am rather familiar with it.. The NT thing has me
>confused. When I try to open a file and print to it everything appears to
>go well, but the files is empty..

Where have you been checking for the file?  When opening files using
relative pathnames, you need to be aware what the current working
directory is.  This is really important when your programs are called
from a different agent then yourself.  For example, Netscape's server
sets the cwd to the location of the perl interpreter instead of the
location of the CGI program under Win32.

Also, when you mean empty, do mean what is shown in Windows file
explorer, or did you open the file up in a text viewer/editor?  The
file explorer has a habit of showing 0k on a new file that appears in
the current directory even if there is data in the file.

Another to note is that your examples were not complete.  Just
doing a print "..." for error handling maynot be good since it
that is data that goes directly to the client.  Were the http headers
printed first?  Was there any run-time errors before getting to
the open() call? ...

	--ewh
-- 
             Earl Hood              | University of California: Irvine
      ehood@medusa.acs.uci.edu      |      Electronic Loiterer
http://www.oac.uci.edu/indiv/ehood/ | Dabbler of SGML/WWW/Perl/MIME


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

Date: Fri, 30 Jan 1998 01:50:02 GMT
From: doug@1dlabs.com (Doug)
Subject: regex with variables?
Message-Id: <6aqffv$hec$1@acdc.3dlabs.com>

Hi,
  I am writing an index/search engine on NT perl 5.   I have a text
file which hold two fields.   The first is a url and the second is a
list of keywords on the urls page.   So something like the following:

http://webserver/home/usr1:books mountains bread money

The text file hold a list of all the urls on the website and the
associated keywords.   I have an html form which allows the user to
select directories to search (such as usr1, usr2, usr3, etc.).   The
search area is passed to the perl script in the usual way by the form.
Based on the search area I want to open the text file and grep for
lines containing the correct directory.

$searchaarea = "http:\/\/webserver\/home\/usr1";

@linesfromfile = grep /^$searcharea/, <INPUTFILE>;

And the result should be the @linesfromfile should contain all lines
from the INPUT file that start with http://webserver/home/usr1

The searcharea variable will change on each search so it can't be hard
coded.

Can someone please give me some advice on getting this to work, or
possibly another solution?

Thanks
Doug
Email to: doug@3dlabs.com



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

Date: 29 Jan 1998 18:42:56 GMT
From: ilya@math.ohio-state.edu (Ilya Zakharevich)
Subject: Re: regexes: fun with /x
Message-Id: <6aqijg$n94$1@mathserv.mps.ohio-state.edu>

[A complimentary Cc of this posting was sent to Chipmunk 
<rjk@coos.dartmouth.edu>],
who wrote in article <34D01787.314F87EE@coos.dartmouth.edu>:
> Chipmunk wrote:
> > 
> > Can you find a useful regex that will only work with the /x modifier?
> 
> I'd better clarify...
> 
> I don't mean something like /.#(/x.  Without the /x modifier,
> that would be /./, which also works.
> 
> What I have in mind is a regex that can be used with the /x modifier,
> but will not work in its non-/x-modified form.

Still too vague...  If you mean:

      write /REGEXPx/x such that no /REGEXP/ will create the same
      state machine

and this is possible, then this should be a bug.  Report it it via
corresponding channels.

Ilya


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

Date: 29 Jan 1998 08:22:31 -0500
From: John Verzani <verzani@postbox.csi.cuny.edu>
Subject: Restoring state with CGI.pm
Message-Id: <m3g1m72z54.fsf@wiener.math.csi.cuny.edu>


I'm using CGI.pm to present some forms and I want to be able to save
and restore state in a manner exactly like the script that saves and
restores state in the docs:
(http://www.genome.wi.mit.edu/ftp/pub/software/WWW/cgi_docs.html#advanced) 

This example work fine. I'm trying to modify it by putting in lines
that print out the HTML for a form like:

print "<INPUT TYPE=\"text\" NAME=\"test\">";

instead of going through the CGI.pm interface:

query->textfield(-name=>'test')

The values for the variable $query->param('test') are saved to the
file, but when I restore state they don't appear. Is there an easy way 
to get them to appear? One way I've thought of that seems kludgy is to 
put in the values when I print the line:

if ($query->param('test')) {
  print "<INPUT TYPE=\"text\" NAME=\"test\" VALUE=\"$query->param('test')\">";
} else {
  print "<INPUT TYPE=\"text\" NAME=\"test\">";
}

but this gets pretty awkward given the way the HTML code is going to
be given to me.

Can somebody point me towards an example of this type, or let me know
an answer?

Many thanks!


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

Date: Thu, 29 Jan 1998 13:01:51 -0600
From: Dave Barnett <barnett@houston.Geco-Prakla.slb.com>
Subject: Re: Seek Help for copying binary files
Message-Id: <34D0D21F.E6392E04@houston.Geco-Prakla.slb.com>

David Lam wrote:
> 
> Being a novice of Perl, I don't know how to write codes for copying or
> moving binary files (.exe, .jpg,...) from one directory to another.  Can
> anybody help?  Thanks.
I'm assuming you mean on the same machine....

Look at File::Copy  It should be part of the Perl standard distribution.

HTH.

Dave

-- 
"Security through obscurity is no security at all."
		-comp.lang.perl.misc newsgroup posting

------------------------------------------------------------------------
* Dave Barnett               U.S.: barnett@houston.Geco-Prakla.slb.com *
* DAPD Software Support Eng  U.K.: barnett@gatwick.Geco-Prakla.slb.com *
------------------------------------------------------------------------


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

Date: Thu, 29 Jan 1998 13:01:08 -0600
From: cotal@delphi.com
Subject: Re: size limit to the length of a perl script
Message-Id: <886099911.1127219205@dejanews.com>

The server was returning "Document Contains No Data" messages to the
browser.  What was interesting was that I could add lines of comments,
but got this message as soon as I added a line of logic.

My provider 'upgraded' my account and the problem is gone.  They are
metering hits, downloads, and cpu seconds, I must have hit some cgi
virtual space limit as someone suggested.

I'll try to get the specific quota differences from them and post them
here.  I just hope the limits are not dynamically set, this would
propagate as errors when traffic got heavy...

Thanks all...

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


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

Date: Thu, 29 Jan 1998 18:59:36 GMT
From: aml@world.std.com (Andrew M. Langmead)
Subject: Re: Survival Of perl
Message-Id: <EnK7FD.DH5@world.std.com>

ehood@medusa.acs.uci.edu (Earl Hood) writes:

>In article <EnGA4H.5zu@world.std.com>,
>Andrew M. Langmead <aml@world.std.com> wrote:

>>If you have (or are looking for) the type of job that someone
>>specifies the type of tools you do for the job, then you are probably
>>best off learning the tools you will be asked to use.
>>
>>If you have (or are looking for) the type of job that someone asks you
>>to create a solution to some problem, then you are best off
>>researching different types of tools and determining which are
>>appropriate for which task.

>Unfortunately, man employers/recruiters do not think this way.  The
>former is more common, even if the latter is what is really needed.

I didn't say that one was better than the other, just that you find
both situations, and you should probably adjust things for the
situation in which you find yourself. You're right that the first
scenario is more frequent when looking for a job. Luckily you "work
at" a job more of often then you "look for" a job.

Once you actually have the job, things may or may not be
different. Again, its not that one scenario is inherently "good" or
"bad". You just have to play your part.
-- 
Andrew Langmead


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

Date: Thu, 29 Jan 1998 12:02:14 -0600
From: Frederic Corne <frederic.corne@erli.fr>
Subject: Testing : Any 'expect' for NT ?
Message-Id: <886089764.540540943@dejanews.com>

Hi,

On unix, I use intensivelly the Expect module from A.Schutz for testing
our products.

But this module use pseudo-tty that don't exist on NT.

I have tried to use open2 but this is not good.

Is someone known a way to test interactive applications on NT (with perl
or other langage) ?

Thanks you in advance for any hint.

( please, send me any reponse by mail. We have some problems with our news
server this week... I post from Dejanews)

FC

--

--- Frederic Corne --- ERLI --- frederic.corne@erli.fr ---

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


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

Date: 29 Jan 1998 18:14:09 GMT
From: dbwhite@btv.vnet.ibm.com (David B. White)
Subject: Re: Why can't I unzip?
Message-Id: <6aqgth$1bsa$3@mdnews.btv.ibm.com>

In article <19980129052800.AAA17614@ladder03.news.aol.com>,
        pauljcase@aol.com (PaulJCase) writes:
> I just downloaded latest.tar and I can't for the life of me get it open? why?

I had a problem under Windows 95 where the tar file got renamed as a
zip file during the download process.  My unzip utility knew how to
open both zip and tar files, but the zip algorithm didn't work on a
tar file.  I had to rename the file back to the original name before
the unzip program knew how to process it correctly.
--
David B. White
IBM Microelectronics, Circuit Verification & Design Tools
Internal: dbwhite@btv             Internet: dbwhite@vnet.ibm.com
Phone: 802-769-5671     (TieLine: 446)     Fax: 802-769-5722


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

Date: Thu, 29 Jan 1998 12:48:56 -0600
From: Dave Barnett <barnett@houston.Geco-Prakla.slb.com>
Subject: Re: Why can't I unzip?
Message-Id: <34D0CF18.FB69C04C@houston.Geco-Prakla.slb.com>

PaulJCase wrote:
> 
> I just downloaded latest.tar and I can't for the life of me get it open? why?
> Thank you
Because it is a tar.gz file, meaning:
tar	created using the unix 'tar' command
gz	created using the 'gzip' utility

If you are *nix, gunzip & tar are your friends.  man tar   and   man
gunzip for help.

If you are on Windoze, find a copy of winzip.  Version 6.2(?) should be
the latest, and handles tar & gzipped files just fine.

HTH.

Dave

-- 
"Security through obscurity is no security at all."
		-comp.lang.perl.misc newsgroup posting

------------------------------------------------------------------------
* Dave Barnett               U.S.: barnett@houston.Geco-Prakla.slb.com *
* DAPD Software Support Eng  U.K.: barnett@gatwick.Geco-Prakla.slb.com *
------------------------------------------------------------------------


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

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

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