[9455] in Perl-Users-Digest

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

Perl-Users Digest, Issue: 3051 Volume: 8

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Fri Jul 3 16:16:52 1998

Date: Fri, 3 Jul 98 13:07:27 -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           Fri, 3 Jul 1998     Volume: 8 Number: 3051

Today's topics:
    Re: Perl At Work epierre@mail.esiea.fr
    Re: Perl At Work <jll@skynet.be>
    Re: Perl At Work (Dominic Dunlop)
    Re: Perl debugger with GUI  ptkdb Unix/Win95/NT Compati <PROCURA_BV@CompuServe.com>
    Re: Perl Editor for Windows NT ? <cwenk@syntek-usa.com>
        Perl manuals for sale on-line (The BookSeller)
        Perl manuals for sale on-line (The BookSeller)
    Re: Perl manuals for sale on-line <merlyn@stonehenge.com>
    Re: Perl manuals for sale on-line (brian d foy)
    Re: perl newbie Q: Any ideas why this doesn't work? <Tony.Curtis+usenet@vcpc.univie.ac.at>
    Re: perl newbie Q: Any ideas why this doesn't work? (Jeffrey Kaplan)
    Re: perl newbie Q: Any ideas why this doesn't work? (Jeffrey Kaplan)
    Re: perl newbie Q: Any ideas why this doesn't work? <rra@stanford.edu>
    Re: perl newbie Q: Any ideas why this doesn't work? (Tim Rosine)
    Re: perl newbie Q: Any ideas why this doesn't work? (Tad McClellan)
    Re: perl newbie Q: Any ideas why this doesn't work? <jeremy@exit109.com>
        Perl on MVS? <pvs@goaltech.com>
    Re: perl vs javascript for field validation <dont-spam-me@yeary.net>
        Perl, IIS 4.0 - PLEASE HELP! <kaichan@dircon.co.uk>
    Re: perl.exe - Entry Point Not Found <russ_conway@NOSPAMgm.cytec.com>
    Re: Perl/CGI Script Problem <indy@NOSPAMdemobuilder.com>
    Re: Perl/CGI Script Problem (Larry Rosler)
    Re: Perl/CGI Script Problem (Bob Trieger)
        Perl: Warning:..... <radenjava@javaisland.com>
    Re: Perl: Warning:..... (Abigail)
        Problem with server <hvanlint@lodestar.be>
    Re: Problem with server <quednauf@nortel.co.uk>
    Re: Problem with server (Abigail)
    Re: problem with system and ftp (Jeffrey R. Drumm)
        Problems building Perl5 on Windows 95 with Cygnus <dominique.cretel@cfwb.be>
        Digest Administrivia (Last modified: 8 Mar 97) (Perl-Users-Digest Admin)

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

Date: Thu, 02 Jul 1998 20:00:02 GMT
From: epierre@mail.esiea.fr
Subject: Re: Perl At Work
Message-Id: <6ngos1$mbq$1@nnrp1.dejanews.com>

In article <359AB0F6.1FC8B2AF@dial.pipex.com>,
  Jason Holland <jason.holland@dial.pipex.com> wrote:


> The bottom line is, what is the going rate for Perl programmers,
> including satellite functions such as webmastering, maintenance etc? In
> the UK!
>
> Is there some way of gauging one's skills in Perl against others, to
> determine one's level of expertise? I've been using Perl seriously for
> over a year now, for both web projects and one off utilities.
>
> Is there some kind of Perl 'exam' on the Internet at all?
>

Perl has a great penetration in France also, I've worked on many Internet
projects, Intranets too ... and I was rated at the price of Database
Developpement which is not bad at all ...

Recently I was (and am still) working for a big international company that is
migrating from NetWare to NT (alas) and wanted to migrate his old-home made
transaction from an expensive private network ($2000 a month) to something
cheaper ... with NT. The rate for my intervention (quite short) in that
company was high (not what I earned, but what the intermediate factured ...
nearly twice).

I think there's no perl exam to have, only practice, mastering and good ideas
!

If you feel despreciated compared to java programers, say your manager all
you can do with Perl that Java can't (work on Win 3.11 i.e. 16 bits
computers, use OLE, ODBC, large Databases, high performance because it is
precompiled before execution, as a JIT for Java which is not very spreat),
say also you can do OO programming and CORBA (see module COPE), and have a
protable and customized interface (Tk for all, X11 ... for Unix). Say also
how easy it is to make a perl module for C libraries, and to interoperate
Perl and C ...

I also worked as a webmaster, and I'm still wondering how guy can run CGI
scripts in Java ... they must have a CRAY, not a little PC under Linux which
is enough to have High performance with Perl.

And long Live to the Perl Republic !

-= Emmanuel PIERRE                               epierre@mail.esiea.fr =-
http://www.esiea.fr/public_html/Emmanuel.PIERRE      http://www.esiea.fr
http://www.e-presence.esiea.fr                    http://www.apr-job.com

               L I N U X - WebMaster - SysAdm - Perl Guru

http://www.esiea.fr:8080  Intranet Inter ESIEA  http://hp1.esiea.fr:2001
                                    http://dvorak.esiea-ouest.fr:2001

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp   Create Your Own Free Member Forum


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

Date: Fri, 03 Jul 1998 10:43:56 +0200
From: Jean-Louis Leroy <jll@skynet.be>
Subject: Re: Perl At Work
Message-Id: <VA.000000e3.14e840bb@jll>

I'm currently helping a private company with a big project for some 
Belgian ministry. The main language of the deliverables is C++. My main 
role is C++ expert. I'm in charge of persistence, portability (we develop 
on NT and deliver on AIX), 'special' parts etc...

Perl is very important to our project.

In the beginning I created several scripts to help automating chores like 
configuring a new development computer, creating Visual C++ project with 
all options properly set, and the like.

More recently I ported Opal, the C++ object-to-relational persistence 
layer I had written, to Perl. We decided to use Perl scripts in the 
machinery that instantiates documents based on a template.

The script that initializes the DB (create tables but also lots of 
objects) is in Perl as well.

And other tough parts remain to be done (like upgrading DB's), which will 
be more easily solved by using Perl's flexibility.

So yes, we use Perl Seriously in a Serious project ;)

Jean-Louis Leroy
http://ourworld.compuserve.com/homepages/jl_leroy



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

Date: Fri, 3 Jul 1998 11:22:30 +0000
From: domo@tcp.ip.lu (Dominic Dunlop)
Subject: Re: Perl At Work
Message-Id: <1dbl32g.10gjrba1w0z1bcN@ppp91.vo.lu>

Josh Kortbein <kortbein@iastate.edu> wrote:

> : Is there some kind of Perl 'exam' on the Internet at all?
> 
> Tom C. posted a delightful quiz in the aforementioned thread.

If you want to pay for hard copy -- or if you want to investigate a
damned good resource -- a version of this quiz appears in The Perl
Journal #8.  See <http://www.tpj.com> for information on obtaining
back-numbers.
-- 
Dominic Dunlop


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

Date: Fri, 26 Jun 1998 10:43:13 +0200
From: "H.Merijn Brand" <PROCURA_BV@CompuServe.com>
Subject: Re: Perl debugger with GUI  ptkdb Unix/Win95/NT Compatible
Message-Id: <35935F21.47571653@CompuServe.com>

Got it, used it, going to love it ...

I'll keep following this thingy

BTW:

# cat /usr/local/bin
#!/usr/bin/sh
exec perl -d:ptkdb $@
#


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

Date: Thu, 02 Jul 1998 10:44:10 -0400
From: Chris Wenk <cwenk@syntek-usa.com>
Subject: Re: Perl Editor for Windows NT ?
Message-Id: <359B9CB9.5451D292@syntek-usa.com>

I have just downloaded VIM--based on a recommendation from this discussion
group.  It's free, VI-like, and understands Perl.  Try www.vim.org.

Grehom@my-dejanews.com wrote:

> In article <6n7p4d$ga8$1@news02.btx.dtag.de>,
>   PBUhauck@t-online.de (Uwe Hauck) wrote:
> >
> > Hello !
> > Does anyone know of any Editor (best would be freeware)
> > for Windows NT that understands Perl Syntax ?
>
> I use an editor in windows 95 called Lemmy - it has syntax highlighting for
> Perl and a couple of other languages.  I only paid $20 after the free trial
> period of a month - look in www.softwareonline.org for it.
>
> -----== Posted via Deja News, The Leader in Internet Discussion ==-----
> http://www.dejanews.com/rg_mkgrp.xp   Create Your Own Free Member Forum





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

Date: Fri, 03 Jul 1998 19:06:14 GMT
From: nospam@cableinet.co.uk (The BookSeller)
Subject: Perl manuals for sale on-line
Message-Id: <359d2b94.13337349@news.cableinet.co.uk>

"The Bookseller" (in association with Amazon.com) has compiled a collection of
Perl books that can be ordered on-line. The complete list can be viewed at

http://bookseller.uk.eu.org/markmartin/bookseller/nonfiction/computing/languages/perl.htm

Other titles will be added shortly.




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

Date: Fri, 03 Jul 1998 19:07:17 GMT
From: nospam@cableinet.co.uk (The BookSeller)
Subject: Perl manuals for sale on-line
Message-Id: <359d2be1.13414873@news.cableinet.co.uk>

"The Bookseller" (in association with Amazon.com) has compiled a collection of
Perl books that can be ordered on-line. The complete list can be viewed at

http://bookseller.uk.eu.org/markmartin/bookseller/nonfiction/computing/languages/perl.htm

Other titles will be added shortly.




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

Date: Thu, 02 Jul 1998 19:21:14 GMT
From: Randal Schwartz <merlyn@stonehenge.com>
Subject: Re: Perl manuals for sale on-line
Message-Id: <8cn2asqctg.fsf@gadget.cscaper.com>

>>>>> "The" == The BookSeller <nospam@cableinet.co.uk> writes:

The> "The Bookseller" (in association with Amazon.com) has compiled a
The> collection of Perl books that can be ordered on-line. The
The> complete list can be viewed at

The> http://yadda,yadda,yadda

The> Other titles will be added shortly.

Am I the only one that finds it ironic that someone that has
"nospam" in their email address is willing to SPAM a newsgroup
with a commercial advertisement?

Maybe, maybe not. :-)

print "Just another Perl hacker," # but not what the media calls "hacker!" :-)
## legal fund: $20,990.69 collected, $186,159.85 spent; just 60 more days
## before I go to *prison* for 90 days; email fund@stonehenge.com for details

-- 
Name: Randal L. Schwartz / Stonehenge Consulting Services (503)777-0095
Keywords: Perl training, UNIX[tm] consulting, video production, skiing, flying
Email: <merlyn@stonehenge.com> Snail: (Call) PGP-Key: (finger merlyn@teleport.com)
Web: <A HREF="http://www.stonehenge.com/merlyn/">My Home Page!</A>
Quote: "I'm telling you, if I could have five lines in my .sig, I would!" -- me


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

Date: Thu, 02 Jul 1998 15:37:10 -0400
From: comdog@computerdog.com (brian d foy)
Subject: Re: Perl manuals for sale on-line
Message-Id: <comdog-ya02408000R0207981537100001@news.panix.com>
Keywords: from just another new york perl hacker

In article <8cn2asqctg.fsf@gadget.cscaper.com>, Randal Schwartz <merlyn@stonehenge.com> posted:

>>>>>> "The" == The BookSeller <nospam@cableinet.co.uk> writes:
>
>The> "The Bookseller" (in association with Amazon.com) has compiled a
>The> collection of Perl books that can be ordered on-line. The
>The> complete list can be viewed at
>
>The> http://yadda,yadda,yadda
>
>The> Other titles will be added shortly.
>
>Am I the only one that finds it ironic that someone that has
>"nospam" in their email address is willing to SPAM a newsgroup
>with a commercial advertisement?
>
>Maybe, maybe not. :-)

too bad you didn't tell them that you use my Business::ISBN module
to let users order ANY book through

   http://www.stonehenge.com/books/

and that Business::ISBN is completely free and is available on
CPAN so anyone else can do the same :)

-- 
brian d foy                                  <comdog@computerdog.com>
CGI Meta FAQ <URL:http://computerdog.com/CGI_MetaFAQ.html>
Comprehensive Perl Archive Network (CPAN) <URL:http://www.perl.com>
Perl Mongers T-shirts! <URL:http://www.pm.org/tshirts.html>


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

Date: 30 Jun 1998 10:40:02 +0200
From: Tony Curtis <Tony.Curtis+usenet@vcpc.univie.ac.at>
To: <jkapllan@world.std.com>
Subject: Re: perl newbie Q: Any ideas why this doesn't work?
Message-Id: <7x1zs7e10d.fsf@beavis.vcpc.univie.ac.at>

Re: perl newbie Q: Any ideas why this doesn't work?, Jeffrey
<jkapllan@world.std.com> said:

Jeffrey> #!/usr/bin/perl5 -w $pi = 3.141592654; $result = 2
Jeffrey> * $pi * 12.5; print "radius 12.5 is circumference
Jeffrey> $result\n";

works fine for me (solaris + irix + linux, perl5.004)

Jeffrey> It gives no error messages at all.  I just get my
Jeffrey> system prompt back with no indication that the
Jeffrey> script ran at all.

did you call the script "test" by any chance? :-)

What does the command "which test" say in your shell?
I suspect it's not what you think it is.

hth
tony
-- 
Tony Curtis, Systems Manager, VCPC,      | Tel +43 1 310 93 96 - 12; Fax - 13
Liechtensteinstrasse 22, A-1090 Wien, AT | http://www.vcpc.univie.ac.at/

"You see? You see? Your stupid minds! Stupid! Stupid!" ~ Eros, Plan9 fOS.


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

Date: Thu, 2 Jul 1998 10:43:30 GMT
From: jkapllan@world.std.com (Jeffrey Kaplan)
Subject: Re: perl newbie Q: Any ideas why this doesn't work?
Message-Id: <359c6394.195909993@news-f.std.com>

Drifting in hyperspace, I had plenty of time to read this memoir from
Tony Curtis:

; did you call the script "test" by any chance? :-)

Yes, I did.

; What does the command "which test" say in your shell?

/sbin/test

Ok, I've renamed the file and it runs.  Guess I shouldn't call things
"test" in UNIX.  Live and learn, that's what I'm here for.

Thanks.

-- 
Jeffrey Kaplan           <*>    I'm set up for PGP.  Are you?
jkapllan@world.std.com   <*>   There's only one "l" in my name.
There is no need to copy to me via email a newsgroup follow-up.
   The World does not necessarily agree with my opinions.

"We will remain an independent state until President Clark is removed
from office. At the end of this current crisis, anyone who wishes to
leave for Earth, is free to do so.  Meanwhile, for your own safety, I
urge everyone to stay in your quarters until this is over.  That is
all."  (Capt. Sheridan, B5 "Severed Dreams")


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

Date: Thu, 2 Jul 1998 10:46:21 GMT
From: jkapllan@world.std.com (Jeffrey Kaplan)
Subject: Re: perl newbie Q: Any ideas why this doesn't work?
Message-Id: <359d6484.196149697@news-f.std.com>

Drifting in hyperspace, I had plenty of time to read this memoir from
Martien Verbruggen:

; How is your path set up? Do you maybe have /usr/bin and/or /usr/ucb in
; your path before .? Are you aware that there is a unix command 'test',
; which lives in above mentioned directories? 

Actually, I placed the directory I use for my scripts, both working and
learning, ahead of everything else.  But it apparently didn't make any
difference here.

; PS. This, of course, has nothing at all to do with perl.

Now that we've figured out it wasn't a perl problem, but a filename
problem.

-- 
Jeffrey Kaplan           <*>    I'm set up for PGP.  Are you?
jkapllan@world.std.com   <*>   There's only one "l" in my name.
There is no need to copy to me via email a newsgroup follow-up.
   The World does not necessarily agree with my opinions.

"Anything a telepath sees while inside a defendant's mind is
inadmissible evidence."  (Ombuds Wellington, B5 "The Quality of
Mercy")


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

Date: 02 Jul 1998 03:47:43 -0700
From: Russ Allbery <rra@stanford.edu>
Subject: Re: perl newbie Q: Any ideas why this doesn't work?
Message-Id: <m3d8bomsvk.fsf@windlord.Stanford.EDU>

Jeffrey Kaplan <jkapllan@world.std.com> writes:

> Ok, I've renamed the file and it runs.  Guess I shouldn't call things
> "test" in UNIX.  Live and learn, that's what I'm here for.

Actually, the rule you really want to pick up from this is that if you're
running something in the current directory, always say so:

        ./test

Then you can call your scripts whatever you care to without worries, and
you avoid some nasty Trojan attacks that people can spring on people who
have . in their path.  It took me a while to get used to putting ./ before
things, and then I took . out of my path and never looked back.

-- 
#!/usr/bin/perl -- Russ Allbery, Just Another Perl Hacker
$^=q;@!>~|{>krw>yn{u<$$<[~||<Juukn{=,<S~|}<Jwx}qn{<Yn{u<Qjltn{ > 0gFzD gD,
 00Fz, 0,,( 0hF 0g)F/=, 0> "L$/GEIFewe{,$/ 0C$~> "@=,m,|,(e 0.), 01,pnn,y{
rw} >;,$0=q,$,,($_=$^)=~y,$/ C-~><@=\n\r,-~$:-u/ #y,d,s,(\$.),$1,gee,print


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

Date: Thu, 02 Jul 1998 14:32:48 GMT
From: trosine@math.uwsuper.edu (Tim Rosine)
Subject: Re: perl newbie Q: Any ideas why this doesn't work?
Message-Id: <359b9790.168204796@news.wwa.com>

On Thu, 2 Jul 1998 10:43:30 GMT, jkapllan@world.std.com (Jeffrey
Kaplan) wrote:

>Drifting in hyperspace, I had plenty of time to read this memoir from
>Tony Curtis:
>
>; did you call the script "test" by any chance? :-)
>
>Yes, I did.
>
>; What does the command "which test" say in your shell?
>
>/sbin/test
>
>Ok, I've renamed the file and it runs.  Guess I shouldn't call things
>"test" in UNIX.  Live and learn, that's what I'm here for.

Or you could tell the shell to run perl specifically:
# perl test

I got into that habit while running win NT MKS Korn Shell (which in my
setup won't look at #! script info)

Tim Rosine
trosine@math.uwsuper.edu


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

Date: Thu, 2 Jul 1998 11:16:57 -0500
From: tadmc@flash.net (Tad McClellan)
Subject: Re: perl newbie Q: Any ideas why this doesn't work?
Message-Id: <ppbgn6.5f4.ln@localhost>

Tim Rosine (trosine@math.uwsuper.edu) wrote:
: On Thu, 2 Jul 1998 10:43:30 GMT, jkapllan@world.std.com (Jeffrey
: Kaplan) wrote:

: >Drifting in hyperspace, I had plenty of time to read this memoir from
: >Tony Curtis:
: >
: >; did you call the script "test" by any chance? :-)
: >
: >Yes, I did.
: >
: >; What does the command "which test" say in your shell?
: >
: >/sbin/test
: >
: >Ok, I've renamed the file and it runs.  Guess I shouldn't call things
: >"test" in UNIX.  Live and learn, that's what I'm here for.

: Or you could tell the shell to run perl specifically:
: # perl test


Or, give the complete path to the 'test' that you want to run:

   ./test


--
    Tad McClellan                          SGML Consulting
    tadmc@metronet.com                     Perl programming
    Fort Worth, Texas


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

Date: 2 Jul 1998 20:50:15 GMT
From: Jeremy <jeremy@exit109.com>
Subject: Re: perl newbie Q: Any ideas why this doesn't work?
Message-Id: <6ngrq7$do8$1@news1.exit109.com>

Jeffrey Kaplan <jkapllan@world.std.com> wrote:

>> How is your path set up? Do you maybe have /usr/bin and/or /usr/ucb
>> in your path before .? Are you aware that there is a unix command
>> 'test', which lives in above mentioned directories?
> 
> Actually, I placed the directory I use for my scripts, both working and
> learning, ahead of everything else.  But it apparently didn't make any
> difference here.

Some shells implement 'test' as a built-in command.

-- 
Jeremy  |  jeremy@exit109.com
"Do you think a princess, and a guy like me..."  --Han Solo


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

Date: Fri, 3 Jul 1998 12:45:50 +0200
From: "Pho Van Son" <pvs@goaltech.com>
Subject: Perl on MVS?
Message-Id: <6nicqi$p65$1@minus.oleane.net>

Hi friends,

Has been Perl ported on MVS?
Any pointers?

In fact, i am looking for a scripting language that i can use to test a
third party software. (part of my job)
I plan to use SWIG to generate wrapper.
The problem is that all these things must run on MVS.

I have no experience on MVS. I come from Unix and Win environment.


Thanks.




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

Date: Thu, 02 Jul 1998 03:02:39 -0700
From: "Michael R. Yeary" <dont-spam-me@yeary.net>
Subject: Re: perl vs javascript for field validation
Message-Id: <359B5ABF.9D834B83@yeary.net>

I agree with you; the JavaScript alert boxes can be somewhat annoying at
times. However, I think when used to validate form data (in conjunction
with redundant and complete server-side validation for those without JS
or for those who have disabled it,) JavaScript validation can be quite
beneficial.

I think the extra overhead in file size you are concerned about by
adding JavaScript to your HTML document is negligible compared to the
time and patience you might save for some of your clients/users. As you
said, with JS, errors are recognized immediately--A user can then
correct the information with minimal time loss and hassle, as opposed to
waiting for the HTTP connections, running the script, generating the
headers, outputting the response, and of course waiting for all of this
to travel up and down the pipe, especially if the 'net or connection is
bogged down. And besides, I don't believe a few extra Kilobytes of text
in the form of your JavaScripts will even be noticed.

As far as 'user satisfaction,' and this is just my opinion of course, I
think people who have trouble filling out an online form completely and
correctly can use all the help they can get: immediate verification
might be perceived as more helpful and useful to these folks.
Conversely, for the folks who can easily and competently fill out a form
correctly, they shouldn't be bothered by the JS alert box at all...

Email address above is bogus.
Switcharoo, baby:
--yeary.net--@--yeary--
Regards,
Michael R. Yeary




Penn White wrote:
> 
> I am creating a 'cascading' series of perl scripts which end with
> 'print'-ing
> the next html form document until all the information required is collected.
> In each html form/page, there are fields in the form that must be validated
> before the user goes on to the next form/page.
> 
> I am considering doing this validation with javascript whenever possible
> since with javascript, errors are recognized immediately (before the
> 'submit' button is pressed).
> 
> Does anyone see any problems with this?
> 
> Including javascript code in my 'print' statements significantly enlarges
> the
> size of the code for the html document.  Will increasing the size of the
> html
> document created by the perl script increase the time required to go on to
> the next page to an appreciable (by the user) degree?
> 
> Does anyone remember the oldest MSIE version that supports javascripting?
> I know that Netscape v 2.0 and higher will support it.  Do any other
> browsers
> support javascript?
> 
> I actually find the 'alert' boxes in javascript somewhat irritating.  Does
> anyone
> know of any 'user satisfaction' surveys that have been done which indicate
> whether users would prefer having immediate alerts if their input is
> incorrect
> vs having the perl script do the validation and generate another page that
> points out the errors and makes them use the 'back' button to correct them?
> If you don't know of any surveys that have been done, what is your personal
> preference?
> 
> What are your thoughts on the overall design concept?  Personally, I don't
> like
> to have to scroll down a huge page when filling out a form.  I would prefer
> to
> have a bunch of successive (nearly) single screen pages that move logically
> from one to the next.  This also has the advantage of allowing the next
> displayed screen to be customized based on input from the preceding one.
> 
> TIA,
> 
> Penn White


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

Date: Fri, 3 Jul 1998 18:53:45 +0100
From: "Kai Chan" <kaichan@dircon.co.uk>
Subject: Perl, IIS 4.0 - PLEASE HELP!
Message-Id: <6nj58t$305$1@ezekiel.eunet.ie>

Hi,
    I've just installed the latest version of perl and IIS 4.0. The perl
scripts runs fine on the command line with the correct output, but when I
run it through a browser, there's no output, e.g. script

$foo = `dir`;
print "$foo";
print "bar";

On the command line it prints out the current directory and bar, while on
the browser it only prints out bar.
I've searched through Deja News and some other places, apparently its
something to do with IIS not using a console to execute the perl scripts,
thus causing I/O problems. I've changed the setting in Metabase so it does
use a console when executing the script, but this still doesn't seem to
work.

I've tried EVERYTHING, including stuff like 'cmd /c c:\perl\bin\perl.exe %s
%s' on the script map, its COMPELETELY hopeless.

Please help.
Thanx in advance.
Kai
kaichan@dircon.co.uk





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

Date: Thu, 02 Jul 1998 10:25:16 -0400
From: Russ Conway <russ_conway@NOSPAMgm.cytec.com>
Subject: Re: perl.exe - Entry Point Not Found
Message-Id: <359B984B.3957192@NOSPAMgm.cytec.com>

So I'm still working on this. I think the problem is with the path
("D:\Perl\lib/auto/Win32/Internet/Internet.pll"). Of course, I still don't
know how to correct the problem. Any idea why the slashes go the wrong
way?

Russ Conway wrote:

> We recently had to add a partition to an NT box that was running Perl
> scripts. Everything was supposed to be restored as it was on the new
> partition. However, the Perl scripts stopped running. Does anyone
> recognize this error?
>
> perl.exe - Entry Point Not Found
> The procedure entry point InternetCombineUrlA could not be located in
> the dynamic link library WININET.dll
>
> Can't load 'D:\Perl\lib/auto/Win32/Internet/Internet.pll' for module
> Win32::Internet: 127 at D:\Perl\lib/DynaLoader.pm line 450.
>
> Obviously, something is not the same. Do I need to associate .pll with
> perl.exe?
>
> TIA





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

Date: Fri, 3 Jul 1998 11:43:57 -0400
From: "Teflon" <indy@NOSPAMdemobuilder.com>
Subject: Re: Perl/CGI Script Problem
Message-Id: <6nitjn$jvm$1@nntp2.uunet.ca>

Hi,

Change the line
print <<EOM;
to
print <<"EOM";


Ignore all the other silly answers.






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

Date: Fri, 3 Jul 1998 09:04:07 -0700
From: lr@hpl.hp.com (Larry Rosler)
Subject: Re: Perl/CGI Script Problem
Message-Id: <MPG.1006a0d6859c2b03989711@nntp.hpl.hp.com>

In article <6nitjn$jvm$1@nntp2.uunet.ca> on Fri, 3 Jul 1998 11:43:57 -
0400, Teflon <indy@NOSPAMdemobuilder.com> says...
> Hi,
> 
> Change the line
> print <<EOM;
> to
> print <<"EOM";
> 
> 
> Ignore all the other silly answers.

You must be using a different "Perl" language from the rest of us.

The following is from perldata:  "If quoted, the type of quotes you use 
determines the treatment of the text, just as in regular quoting.  An 
unquoted identifier works like double quotes."

The change you are promoting is a complete no-op.  So let's ignore *your* 
silly answer.

-- 
Larry Rosler
Hewlett-Packard Laboratories
http://www.hpl.hp.com/personal/Larry_Rosler/
lr@hpl.hp.com


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

Date: Fri, 03 Jul 1998 17:17:14 GMT
From: sowmaster@juicepigs.com (Bob Trieger)
Subject: Re: Perl/CGI Script Problem
Message-Id: <6nj3qn$en4$2@ligarius.ultra.net>

"Teflon" <indy@NOSPAMdemobuilder.com> wrote:
-> Hi,
-> 
-> Change the line
-> print <<EOM;
-> to
-> print <<"EOM";
-> 
-> 
-> Ignore all the other silly answers.

Oh, and there is a difference now between the 2? If the original poster is 
intelligent, he will killfile you. That way he won't receive such bad info 
from you in the future.

Bob Trieger
sowmaster@juicepigs.com
" Cost a spammer some cash: Call 1-800-286-0591
  and let the jerk that answers know that his
  toll free number was sent as spam. "


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

Date: Thu, 2 Jul 1998 21:36:48 -0400
From: "Radenjava" <radenjava@javaisland.com>
Subject: Perl: Warning:.....
Message-Id: <6nhcjs$h9j$1@news13.ispnews.com>

Okay, I just installed Perl 5. But there was some warning appear if I type
perl <arguments> or perl <filename> as follow:
$
perl: warning: Setting locale failed.
perl: warning: Please check that your locale setting:
            LC_ALL = (unset),
            LANG = "us"
        are supported and installed on you system
perl: warning: Falling back to the standard locale ("C").
This is perl, version 5.004_04 built for i386-freebsd
$
How do I fix that warning?
I appreciate if anyone can help me.
Thank you very much

Aryo K. Sukarno
asukarno@bhawono.com




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

Date: 3 Jul 1998 09:54:39 GMT
From: abigail@fnx.com (Abigail)
Subject: Re: Perl: Warning:.....
Message-Id: <6ni9ov$dg5$4@client3.news.psi.net>

Radenjava (radenjava@javaisland.com) wrote on MDCCLXVII September
MCMXCIII in <URL: news:6nhcjs$h9j$1@news13.ispnews.com>:
++ Okay, I just installed Perl 5. But there was some warning appear if I type
++ perl <arguments> or perl <filename> as follow:
++ $
++ perl: warning: Setting locale failed.
++ perl: warning: Please check that your locale setting:
++             LC_ALL = (unset),
++             LANG = "us"
++         are supported and installed on you system
++ perl: warning: Falling back to the standard locale ("C").
++ This is perl, version 5.004_04 built for i386-freebsd
++ $
++ How do I fix that warning?

Did you do what the warning suggests? If so, what's the verdict?



Abigail
-- 
perl5.004 -wMMath::BigInt -e'$^V=new Math::BigInt+qq;$^F$^W783$[$%9889$^F47$|88768$^W596577669$%$^W5$^F3364$[$^W$^F$|838747$[8889739$%$|$^F673$%$^W98$^F76777$=56;;$^U=substr($]=>$|=>5)*(q.25..($^W=@^V))=>do{print+chr$^V%$^U;$^V/=$^U}while$^V!=$^W'


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

Date: Fri, 3 Jul 1998 02:16:52 +0200
From: "Hans Van Lint" <hvanlint@lodestar.be>
Subject: Problem with server
Message-Id: <6nh7rf$v1$1@news2.xs4all.nl>

Hi,

I've got a perl script that searches through a flat textfile of 2.5MB. It
usually finds data in 3-5 seconds. Somehow though, the server were the
script is situated, can't handle the script. It is too heavy, or takes to
many processes. I was told this happened because people on the net use the
search form, they hit Submit and after 2 seconds they get impatient so they
click back and try again.

Is this true?
What can I do about it?

Thanks




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

Date: Fri, 03 Jul 1998 09:51:01 +0100
From: "F.Quednau" <quednauf@nortel.co.uk>
Subject: Re: Problem with server
Message-Id: <359C9B75.3543C8B4@nortel.co.uk>

Hans Van Lint wrote:
> 
> Hi,
> 
> ... I was told this happened because people on the net use the
> search form, they hit Submit and after 2 seconds they get impatient so they
> click back and try again.

There is not that much you can do about users clicking the submit button again.
What I'd probably do is starting output to the browser, so that the submit
button disappears and then urging the user for a bit of patience, and then do
the scanning.


-- 
____________________________________________________________
Frank Quednau               
http://www.surrey.ac.uk/~me51fq
________________________________________________


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

Date: 3 Jul 1998 09:57:22 GMT
From: abigail@fnx.com (Abigail)
Subject: Re: Problem with server
Message-Id: <6ni9u2$dg5$5@client3.news.psi.net>

Hans Van Lint (hvanlint@lodestar.be) wrote on MDCCLXVII September
MCMXCIII in <URL: news:6nh7rf$v1$1@news2.xs4all.nl>:
++ Hi,
++ 
++ I've got a perl script that searches through a flat textfile of 2.5MB. It
++ usually finds data in 3-5 seconds. Somehow though, the server were the
++ script is situated, can't handle the script. It is too heavy, or takes to
++ many processes. I was told this happened because people on the net use the
++ search form, they hit Submit and after 2 seconds they get impatient so they
++ click back and try again.
++ 
++ Is this true?
++ What can I do about it?


Oh, those nasty people on the net! Maybe you send them all an email
they should be more patient.


Abigail
-- 
perl -wle 'print "Prime" if ("m" x shift) !~ m m^\m?$|^(\m\m+?)\1+$mm'


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

Date: Thu, 02 Jul 1998 11:57:09 GMT
From: drummj@mail.mmc.org (Jeffrey R. Drumm)
Subject: Re: problem with system and ftp
Message-Id: <359b66d7.1116415570@news.mmc.org>

[ posted to comp.lang.perl.misc and a courtesy copy was mailed to the cited
author ]

On Thu, 02 Jul 1998 03:09:59 GMT, larrym@imsi.com (Larry Martell) wrote:

(snip)

>I finally got this to work by putting the entire command in a file,
>and system'ing that. 
>
>So I have a file, ftp.cmd, that has one line:
>
>/usr/ucb/ftp -in < ftp.in
>
>And I say "system("ftp.cmd")" and works! Very kludgy - create 2 files, 
>make one executable, remove them when I'm done. Eccch! But it works. Go
>figure.
>
>larry

Is there some reason that you can't use Graham Barr's excellent Net::FTP
module, included in the standard distribution since 5.004 or so?  It could save
you a process, and keep things a bit more maintainable. You can do virtually
everything with it that you can do with the interactive ftp client, and a lot
of things you can't. Example:

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

 use Net::FTP;

 my $ftp = Net::FTP->new('hostname') or die "Couldn't connect!\n";

 $ftp->login('user','password') or die $ftp->message;
 $ftp->cwd('directory') or die $ftp->message;
 $ftp->get('remote_file','local_file') or die $ftp->message;
 $ftp->quit;
 __END__

If you want to do some intermediate processing on the data you're downloading
before it gets written to disk:

 open DNLD,'>local_file' or die "Couldn't open: $!\n";
 my $rfd = $ftp->retr('remote_file') or die $ftp->message;
 while ($rfd->read($buffer,$bufsize,$timeout))
 { 
	&whack_away_at($buffer);
	print DNLD $buffer;
 }
 $rfd->close or die $ftp->message;
 close DNLD or die "Couldn't close: $!\n";


-- 
                               Jeffrey R. Drumm, Systems Integration Specialist
                       Maine Medical Center - Medical Information Systems Group
                                                            drummj@mail.mmc.org
"Broken? Hell no! Uniquely implemented!" - me


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

Date: Fri, 03 Jul 1998 09:47:38 +0200
From: CRETEL Dominique <dominique.cretel@cfwb.be>
Subject: Problems building Perl5 on Windows 95 with Cygnus
Message-Id: <359C8C9A.1DF7@cfwb.be>

Hi all,

I have downloaded Cygnus (cdk.exe 12.394k) and his user tools
(usertools.exe 3.139k). I have installed it on my D drive.

I'm going to build the last Perl5 for Cygnus.
I have modified the ld2 file in setting my Perl path (D:\Perl5.004_04)

When I launch it, the Configure command file tell me that:
-I don't see Mcc out there, offhand.
-I don't see cpp out there, either.
-I don't see csh out there, either.
-I don't see less out there, either.
-I don't see line out there, either.
-I don't see more out there, either.
-I don't see nroff out there, either.
-I don't see pg out there, either.
-I don't see sendmail out there, either.
-I don't see zip out there, either.
Why???

And I get an error when it try to use gcc2 (it appear to be a good shell
script)!!!
What can I do, to go on????

Thanks,
D. Cretel


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

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

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