[12573] in Perl-Users-Digest
Perl-Users Digest, Issue: 6173 Volume: 8
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Wed Jun 30 00:07:32 1999
Date: Tue, 29 Jun 99 21:00:18 -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 Tue, 29 Jun 1999 Volume: 8 Number: 6173
Today's topics:
About Pareto random number generator with perl <ysko@charly.kjist.ac.kr>
Re: alphabetical sorting <mdz4c@node8.unix.Virginia.EDU>
Re: cgi-lib.pl <mage@golden.net>
Re: chomp previous line? (Tad McClellan)
Re: Foreach on hash gives undefined value <justin@nectar.com.au>
Re: form processing locally <hiller@email.com>
Re: HELP: recv() failed in Solaris 2.6 kclau@my-deja.com
if ($_ =~ /^$var/) always fails - why? <s1dugan@exnet.iastate.edu>
Need a quote on a perl job scott_mark@my-deja.com
Re: Need help using umask. <mjcarman@zeus.ia.net>
Perl & SSL Help <admin@wasi.com>
Re: perl version 5.003 source <justin@nectar.com.au>
perl/javascript equivalent command (s. morgan friedman)
Re: perl/javascript equivalent command <hiller@email.com>
Re: perl/javascript equivalent command <JFedor@datacom-css.com>
Re: Regular Expression <justin@nectar.com.au>
Re: Robot email/poster for this group (Abigail)
Re: Robot email/poster for this group (Abigail)
Re: Robot email/poster for this group (John Stanley)
Search Engine Problem -- newbie question <z_pham@ix.netcom.com>
Re: UK Perl job vacancy (Laar)
Re: What is First line in Perl5 in Sun Micro... <justin@nectar.com.au>
Re: XS and OOP references? <sugalskd@netserve.ous.edu>
Re: yahoo like search engine (Jason Q.)
Special: Digest Administrivia (Last modified: 12 Dec 98 (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Wed, 30 Jun 1999 12:53:37 +0900
From: "Koh, Youn-Seok" <ysko@charly.kjist.ac.kr>
Subject: About Pareto random number generator with perl
Message-Id: <377994C0.B0107270@charly.kjist.ac.kr>
Hi...
I am searching for perl code of Pareto random number generator.
Python has the instance of "paretovariate" but I don't know if Perl
does.
Do you know about this ? If you know, please tell me
Bye..
------------------------------
Date: Tue, 29 Jun 1999 22:07:54 -0400
From: Matthew Zimmerman <mdz4c@node8.unix.Virginia.EDU>
Subject: Re: alphabetical sorting
Message-Id: <Pine.A41.4.05.9906292159020.20036-100000@node8.unix.Virginia.EDU>
On Tue, 29 Jun 1999, Aaron Walker wrote:
> none of this actually tells me how to take the data from the data file and
> print it out alphabetically, or how to sort the data file itself
> alphabetically. Any other ideas?
You could try this... read your data into an array called @array, and then
sort it with a specially designed 'sort' call. Then you could modify the
'foreach' loop to recognize each new letter, and whatever other bells &
whistles you want.
@array = <>;
foreach (sort alphabetically @array)
{
print;
}
sub alphabetically
{
$tempa = $a;
$tempb = $b;
$tempa =~ tr/A-Z/a-z/;
$tempb =~ tr/A-Z/a-z/;
($tempa cmp $tempb);
}
Matt
--
Matthew Zimmerman http://www.people.virginia.edu/~mdz4c
Interdisciplinary Biophysics Program University of Virginia
------------------------------------------------------------------
"You got to be very careful if you don't know where you're going,
because you might not get there." -- Yogi Berra
------------------------------
Date: Tue, 29 Jun 1999 22:46:44 -0300
From: "mage" <mage@golden.net>
Subject: Re: cgi-lib.pl
Message-Id: <7lc0vv$6lo$1@cougar.golden.net>
Ok. I've tried to use the CGI.pm module but to no avail. I'm new to both
Unix and perl. I downloaded the file from lstein's site and then used the
command zcat < gzipfile | CGI.pm to unzip it and create the pm module. Does
this sound right? Just getting error messages when I try to run a script
with it. BTW what directory do you put the CGI.pm module in?
Shannon
Rich G. wrote in message <3777DCBD.40120333@hotmail.com>...
>[ Courtesy cc: sent to quoted author ]
>
>Shannon Dorey wrote:
>
>> Has anyone used this library before. I downloaded it from perl.com but I
>> can't seem to get it to work. I assume you just put the program in the
>> same directory as your interperter but I'm not sure if you have to do
>> something to the code. Thanks.
>
>Umm...you probably don't want to use cgi-lib.pl. It was designed for Perl
>4, and is no longer
>supported or updated. I would recommend installing CGI.pm (and Perl 5+, if
>you don't have it). You can get everything at http://www.cpan.com.
>
>Rich G.
>
>
------------------------------
Date: Tue, 29 Jun 1999 16:34:21 -0400
From: tadmc@metronet.com (Tad McClellan)
Subject: Re: chomp previous line?
Message-Id: <dkabl7.3v1.ln@magna.metronet.com>
John Little (John.Little@Duke/dot/.edu) wrote:
: Can some help me understand how to chomp the previous line. The only way I
: can identify the lines that are a problem is by identifying all lines which
: begin without a quotation mark. In those case the previous line should be
: chomped. Of coure by the time I identify the line which doesn't begin with a
: quotation mark I've already passed the line I need to work on.
Sounds like you need to maintain a one-line buffer.
while (<>) { # UNTESTED
if ( /some condition/ ) {
chomp $lastline;
}
print $lastline;
$lastline = $_;
}
print $lastline; # flush the buffer
--
Tad McClellan SGML Consulting
tadmc@metronet.com Perl programming
Fort Worth, Texas
------------------------------
Date: Wed, 30 Jun 1999 13:30:46 +1000
From: Justin Wills <justin@nectar.com.au>
Subject: Re: Foreach on hash gives undefined value
Message-Id: <37798F66.B2282FF2@nectar.com.au>
yes, yes, there's no code. but back to the question, DON'T use foreach on a
hash, use each or keys or values
Tom Phoenix wrote:
> On Mon, 28 Jun 1999, Thomas Weholt wrote:
>
> > When the following script is run, it prints out a entry in the
> > %records_hash that doesn`t exists, and reports "use of unintitialized
> > value". Why?
>
> Nobody knows because you didn't post the actual code you're using. There
> seems to be a semicolon missing in what you posted, so it won't run at
> all. But rather than posting it again, cut it down to the minimal example
> which demonstrates the problem you're having. That is, keep it to a dozen
> lines or fewer, and don't use any modules if you can help it. The ideal
> example shows clearly the one line of code which isn't doing what you
> expected.
>
> When I fixed the error and removed the code to use tied hashes, this code
> did just what I expected.
>
> Good luck with it!
>
> --
> Tom Phoenix Perl Training and Hacking Esperanto
> Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
------------------------------
Date: Wed, 30 Jun 1999 03:59:26 GMT
From: Jordan Hiller <hiller@email.com>
Subject: Re: form processing locally
Message-Id: <377995A3.92EDCD17@email.com>
You need to be running a web server on your computer. Try Apache for Win32. Then
change the action to something other than a hard drive reference, on Apache it
will need to be a ScriptAlias directory (i.e. action="/perl/survey.pl")
Basically, you need a Web server to process it.
Jordan
mmustafa@my-deja.com wrote:
>
> Hi,
> I am trying to simulate a form being processed locally. I downloaded
> the perl (Active) compiler which is running on a Windows NT machine. If
> I put "action="D:\perl\survey.pl" in the HTML code , I can't get the
> perl script to run properly when I hit the submit button on a locally
> opened HTML page. It opens a DOS box and says " offline mode, enter
> name value pairs on standard input". I know in UNIX, it is the cgi-bin
> that is processing it, but I don't know how to simulate that in here. I
> also tried putting the perl script in the cgi-bin of MS FrontPage and
> redirecting the files, but that didn't work either.
> If someone could help/explain, it would be highly appreciated.
>
> Farooq
------------------------------
Date: Wed, 30 Jun 1999 02:50:05 GMT
From: kclau@my-deja.com
Subject: Re: HELP: recv() failed in Solaris 2.6
Message-Id: <7lc0kr$2fd$1@nnrp1.deja.com>
In article <7lamlk$kpa$1@server1.powernet.net>,
lwp@mail.msen.com wrote:
> On Mon, 28 Jun 1999 08:22:23 GMT, kclau@my-deja.com wrote:
>
> : I try to write a Perl CGI program to use Socket, I tested it in
> : Linux and it worked just fine. But after moving to my webhosting
> : site, running Solaris 2.6 in Sun UltraSPARC II, it always failed at
> : following line:
>
> : $nRecv = read(SOCK, $ResponseMessage, $MSG_SIZE) or die "recv:
$!";
Oop!! Sorry, a mistake, the above is:
$nRecv = recv(SOCK, $ResponseMessage, $MSG_SIZE, 0) or die "recv:
$!";
I did try:
$nRecv = read(SOCK, $ResponseMessage, $MSG_SIZE) or die "read: $!";
Unluckily, both failed. First one got failed without error message.
Second one always end with timeout or long wait failed (cause running
in CGI).
> : And the problem is, I don't know why? Because the error message
> : always content nothing! Totally blank message.
>
> $nRecv = read()
> is a replacement statement, and its value is the value returned by the
> read(), which is the number of bytes read. This is not the same as
> some function that returns TRUE for success, FALSE for error.
>
> You are preceding this read() with some kind of select(), right ?
Actually, my program is like this (refer from "Programming Perl"):
$iaddr = inet_aton($remote) or die "nohost: $remote";
$paddr = sockaddr_in($port, $iaddr);
$proto = getprotobyname('tcp');
socket(SOCK, PF_INET, SOCK_STREAM, $proto) or die "socket: $!";
connect(SOCK, $paddr) or die "connect: $!";
$nBytesSent = send(SOCK, $RequestMessage, 0) or die "send: $!";
if ($nBytesRecv) {
$nBytesRecv = recv(SOCK, $ResponseMessage, $MSG_SIZE, 0)
or die "recv: $!";
} else {
die "Failed to receive response from server";
}
Firstly, connect to server, send a command, then get the reply.
I did try to use read(), or even use while ($line = <SOCK>) but
no succeed at all. Could it be the system problem? Like, my
server disable some network function call by changing some devices
mode (/dev/xxxx) or in Perl Socket library? I did it in my Linux
system, no problem at all, but it didn't work in Solaris 2.6.
Thanks for your help!!
Regards,
Keh-Chen Lau
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
Date: Tue, 29 Jun 1999 20:56:14 -0500
From: "Darin Dugan" <s1dugan@exnet.iastate.edu>
Subject: if ($_ =~ /^$var/) always fails - why?
Message-Id: <7lbtfu$44l$1@news.iastate.edu>
The if statement below always fails. However, I've done almost identical
statements in other perl scripts with no problems whatsoever. Even more
confusing is that although $idcode contains "OMASVSLBF" at the start of the
while loop (yes, really), if I replace /^$idcode/ with the literal
/OMASVSLBF/, the script works fine.
CODE SNIPPET:
open(TABLE, "$path/wx.descr") || die "Can't open wx.descr for reading!\n\n";
while (<TABLE>) {
if ($_ =~ /^$idcode/) {
($junk, $title, $notedir) = split (/,/);
last; # Got idcode, leave loop.
}
}
print "idcode is $idcode\n";
print "junk is $junk, title is $title, notedir is $notedir\n";
END CODE
OUTPUT
idcode is OMASVSLBF
junk is ZCZC, title is , notedir is
END OUTPUT
(note that $junk has a value because it was used earlier in the script)
INPUT FILE wx.descr
ZZZZZZZZZ,************************************,NULL
OMASVROFK,Severe Storm WARNING - Norfolk NE,NWS_NEBKAN
OMASVROMA,Severe Storm WARNING - Omaha NE,NWS_NEBKAN
OMASVSLBF,This is the title field,TEST_FOLDER
OMASVSLNK,Severe Weather Statement -Lincoln NE,NWS_NEBKAN
ZZZZZZZZZ,************************************,NULL
END INPUT FILE
Thanx -
D
s1dugan@nospam.exnet.iastate.edu
------------------------------
Date: Wed, 30 Jun 1999 02:59:43 GMT
From: scott_mark@my-deja.com
Subject: Need a quote on a perl job
Message-Id: <7lc16s$2jp$1@nnrp1.deja.com>
Need a quote on a perl job
here is what I need in a perl script. I need to be able to search a
database on 3 different servers and return about 5 fields and have it
show up on a HTML page based on the total matches. I need to be able to
track where the search was done and did the person click though to one
of the server databases based on what the search returned.
I need to track people as I will be giving out special codes to
each beta tester to track how many times they searched and clicked
though to one of the databases. I need to have the ability to add
categories to the perl script as must as our project needs a few
different categories.
I need to be able to add a servers at a later date that I can easily
setup.
Please let me know what this would cost. I don't want hourly prices.
This is just a test project and if all goes well we will have a lot of
other work for the programmer that makes this script.
I don't think this would be a hard task to do so if you want to make one
up and I can try it and give me a price you want for the script.
Price is a factor at this time in the project.
If you would like to make this program send us a email and we can give
you all the details.
Thanks
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
Date: Tue, 29 Jun 1999 20:55:26 -0500
From: Michael Carman <mjcarman@zeus.ia.net>
Subject: Re: Need help using umask.
Message-Id: <3779790E.249C2C46@zeus.ia.net>
Brian Wagener wrote:
> I am having problems using umask. The perl docs are very sparse on the
> subject. Well here is what I think I know and just tell me what is wrong.
> umask sets the default permissions of the files that havent been made yet.
> In my case I want all subsequent files to be made with full permission so I
> tried "umask 0777" and it didn't work. What am I doing wrong.
> Thanks.
> Bri
umask is kind of a curious thing. You don't set it to the permissions you want,
you set it to the *opposite*. Hence, it's a mask. So the mask for 777 is 000,
the mask for 644 is 133, etc.
-mjc
------------------------------
Date: Tue, 29 Jun 1999 21:36:52 -0500
From: "RLD" <admin@wasi.com>
Subject: Perl & SSL Help
Message-Id: <7lbvui$p5p$1@hyperion.nitco.com>
Hello,
Need to send a Post command to a secure server... I'm familiar with using
LWP and http-lib for regular connections... but don't know much about doing
the same thing through a secure server. Any help?
I need the resulting page as a string so that I can pull some information
from it before displaying the page to the user.
A speedy response to this dilemma would be appreciated!
RLD
------------------------------
Date: Wed, 30 Jun 1999 13:31:57 +1000
From: Justin Wills <justin@nectar.com.au>
Subject: Re: perl version 5.003 source
Message-Id: <37798FAD.524ECA50@nectar.com.au>
try cpan
Dan Pelton wrote:
> Does anyone know where I can find the source code for perl version
> 5.003 (perl5 5.0 patchlevel 3 subversion 0)?
>
> thanks,
> Dan Pelton
> dnp@ams.org
>
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.
------------------------------
Date: 30 Jun 1999 02:32:58 GMT
From: morgan@dept.english.upenn.edu (s. morgan friedman)
Subject: perl/javascript equivalent command
Message-Id: <7lbvkq$i47$1@netnews.upenn.edu>
hi -- do any of you fellow perl folk who also do some
javascript know the equivalent, in javascript, of a
perl line such as:
print <<"PRINT_ALL_THIS";
etc here
for a few lines
PRINT_ALL_THIS
i can't seem to find the analogous command in js.
thanks a million! :)
morgan
--
______________________
steven morgan friedman
http://www.westegg.com/morgan/
"I have always imagined that paradise will be a kind of library."
------------------------------
Date: Wed, 30 Jun 1999 03:04:30 GMT
From: Jordan Hiller <hiller@email.com>
Subject: Re: perl/javascript equivalent command
Message-Id: <377988C3.44CCCDB3@email.com>
Sorry,
There's no really easy way to do it. The closest would have to be this, but it's
really no different from other document.write()'s in JavaScript:
document.write(
'etc here' +
'for a few lines'
);
Jordan
"s. morgan friedman" wrote:
>
> hi -- do any of you fellow perl folk who also do some
> javascript know the equivalent, in javascript, of a
> perl line such as:
>
> print <<"PRINT_ALL_THIS";
> etc here
> for a few lines
> PRINT_ALL_THIS
>
> i can't seem to find the analogous command in js.
> thanks a million! :)
>
> morgan
>
> --
> ______________________
> steven morgan friedman
> http://www.westegg.com/morgan/
> "I have always imagined that paradise will be a kind of library."
--
Jordan Hiller
hiller@email.com
:~
------------------------------
Date: Wed, 30 Jun 1999 00:21:13 -0400
From: "Jody Fedor" <JFedor@datacom-css.com>
Subject: Re: perl/javascript equivalent command
Message-Id: <7lc458$41c$1@plonk.apk.net>
s. morgan friedman wrote in message <7lbvkq$i47$1@netnews.upenn.edu>...
>javascript.
Try putting all the HTML in a variable and then printing the variable out.
Jody
------------------------------
Date: Wed, 30 Jun 1999 13:23:12 +1000
From: Justin Wills <justin@nectar.com.au>
Subject: Re: Regular Expression
Message-Id: <37798DA0.8F00891@nectar.com.au>
your regex is looking for 'Language = "string"' not 'Language = string'.
see the \" ???
Eric Anderson wrote:
> I have a regular expression that I am trying to get to match to
> $parseString. Basically the code is as follows:
>
> if ( $parseString =~ /\<%\s*@\s*language\s*=\s*\"?(\w+)\"?\s*%\>/i )
> {
> $language = $1;
> } else {
> $language = "Not Found";
> }
>
> Now when $parseString contains the following:
>
> <%@ Language = VBScript %>
>
> $language should be equal to "VBScript", but instead the pattern is not
> matched, so $language is assigned "Not Found".
>
> I wasn't sure if the "%" character should have the "\" before it (like
> \%). Also I wasn't sure if "@" character should have a "\" before it,
> but I have tried putting a "\" in front of both. Still no match is made.
> Anybody have any ideas.
>
> --
> Eric Anderson
> Computer Science, Georgia Tech
> Co-op, Southern Regional Education Board
> ICQ# 1279816
------------------------------
Date: 29 Jun 1999 21:20:16 -0500
From: abigail@delanet.com (Abigail)
Subject: Re: Robot email/poster for this group
Message-Id: <slrn7nivmg.1gv.abigail@alexandra.delanet.com>
David Cassell (cassell@mail.cor.epa.gov) wrote on MMCXXVIII September
MCMXCIII in <URL:news:3779397D.84D133B7@mail.cor.epa.gov>:
() John Stanley wrote:
()
() Have you checked out #perl? Ask url for some help to a question.
() Ask the people there what their opinions are on url's helpfulness.
() If an autobot can work in a Perl IRC setting, I don't see why it
() wouldn't work here.
I doubt the reason url is tolerated is its helpfulness. The main reason
is its fun. But url doesn't send lengthy messages based on its own
interpretation. It either talks to the group, or gets instructed to
tell something in person. I don't think you want an url like bot in
this newsgroup.
() And if it didn't work well, who amongst the gurus would want it
() to ever see the light of day? Hubris [the programmer virtue and the
() Greek noun] wouldn't permit them to let a bad program loose in public.
It would certainly give a reason to do address mangling. Leave the bots
to the spammers, that's more than enough.
() > I lost count of the number of people who complained that this newsgroup
() > was becoming a "help desk", and who voted for a moderated group so they
() > could get away from the problem.
()
() The gurus who didn't want to associate with the great unwashed have
() left this newsgroup never to return. They have other newsgroups and
() listservs where they live. What does that have to do with the
() conscientious people who continue to answer questions here,
() regardless of their level of frustration?
Exactly. They've left, and are now forming their own little perl hugging
group. They are gone, and it would be nice if they stay gone. Discussions
about bots acting in or on this newsgroup should be discussed *here*,
not in some ivory tower. But bots don't belong on Usenet anyway.
() If you're really that concerned about Miscy turning into some sort
() of Perlish version of the Forbin Project, then you could volunteer
() in the project and make your voice heard.. not to mention your
() programming skills. This is not a Gurus-vs-Newbies issue. This
() is a helping-others issue.
I'm sure I'm perfectly able to write a bot that reads the moderated
group and sends out lengthy FAQs.
People in other groups deciding over this groups should be considered
snobs who have no place on Usenet. I'd rather see Cantor and Siegel.
Abigail
--
perl -wle\$_=\<\<EOT\;y/\\n/\ /\;print\; -eJust -eanother -ePerl -eHacker -eEOT
-----------== Posted via Newsfeeds.Com, Uncensored Usenet News ==----------
http://www.newsfeeds.com The Largest Usenet Servers in the World!
------== Over 73,000 Newsgroups - Including Dedicated Binaries Servers ==-----
------------------------------
Date: 29 Jun 1999 21:27:32 -0500
From: abigail@delanet.com (Abigail)
Subject: Re: Robot email/poster for this group
Message-Id: <slrn7nj045.1gv.abigail@alexandra.delanet.com>
Marcel Grunauer (marcel.grunauer@lovely.net) wrote on MMCXXVIII September
MCMXCIII in <URL:news:377b27a4.6551971@enews.newsguy.com>:
!! On 29 Jun 1999 19:21:41 GMT, stanley@skyking.OCE.ORST.EDU (John
!! Stanley) wrote:
!!
!! >I lost count of the number of people who complained that this newsgroup
!! >was becoming a "help desk", and who voted for a moderated group so they
!! >could get away from the problem. Now they want to turn this group into a
!! >help desk ("Miscy -- help me...") after they have created a different
!! >group for themselves. They wanted to leave, and now they want to program
!! >the solution for us after they are gone.
!!
!! Why didn't you post this to the relevant thread on
!! comp.lang.perl.moderated? Afraid you might have to join in the
!! discussion?
Because the thread belongs here? Or, gasp, maybe some people don't
*want* to post there? Or perhaps the posting might be rejected as
off-topic?
!! No, just post it here, where you can spread FUD. "They want to leave!
!! It's the end of Perl as we know it! They're moving to another
!! dimension and leave us to deal with the Shadows!"
!! "They will cast the level 9 Miscy spell on this group and turn it into
!! a squeaking helpdesk!"
!!
!! Please.
Doesn't talking behind someone's back make people paranoid?
!! The moderated group doesn't really get much traffic, and by far the
!! bulk of the discussion takes place here.
Odd. I haven't read any discussion about it till today.
!! But a lot of the questions
!! that get posted here (note the wording, does it sound a bit like a
!! helpdesk?) *are* FAQs, and I can understand that people are getting
!! tired of posting the same answers again and again. And again.
And that's a problem for some *other* group, because of?
!! Some frequent posters must begin to feel like an organic version of
!! Miscy already, so think of Miscy as a patient frequent poster who will
!! never get tired of answering questions like "How can I use a variable
!! name as a variable" or "Linux better than Perl?" or "Testing, please
!! ignore".
The only patient frequent answerer of frequently asked question is Tom P.
Are you suggesting he's botlike?
!! But social issues aside you'll have to admit that it is a fascinating
!! project.
I won't.
Abigail
--
perl -we '$@="\145\143\150\157\040\042\112\165\163\164\040\141\156\157\164".
"\150\145\162\040\120\145\162\154\040\110\141\143\153\145\162".
"\042\040\076\040\057\144\145\166\057\164\164\171";`$@`'
-----------== Posted via Newsfeeds.Com, Uncensored Usenet News ==----------
http://www.newsfeeds.com The Largest Usenet Servers in the World!
------== Over 73,000 Newsgroups - Including Dedicated Binaries Servers ==-----
------------------------------
Date: 30 Jun 1999 02:48:11 GMT
From: stanley@skyking.OCE.ORST.EDU (John Stanley)
Subject: Re: Robot email/poster for this group
Message-Id: <7lc0hb$e4a$1@news.NERO.NET>
In article <slrn7nj045.1gv.abigail@alexandra.delanet.com>,
Abigail <abigail@delanet.com> wrote:
>Marcel Grunauer (marcel.grunauer@lovely.net) wrote on MMCXXVIII September
>!! Why didn't you post this to the relevant thread on
>!! comp.lang.perl.moderated? Afraid you might have to join in the
>!! discussion?
>
>Because the thread belongs here? Or, gasp, maybe some people don't
>*want* to post there? Or perhaps the posting might be rejected as
>off-topic?
No, the truth is I did post to the moderated group. Marcel just missed
it in all the FAQS and man page postings that make reading the
moderated group impossible.
>!! But social issues aside you'll have to admit that it is a fascinating
>!! project.
>
>I won't.
In the right context, it is a semi-interesting problem in plain language
processing. There is a right context, it just isn't USENET.
------------------------------
Date: Tue, 29 Jun 1999 20:30:08 -0700
From: "Z. Pham" <z_pham@ix.netcom.com>
Subject: Search Engine Problem -- newbie question
Message-Id: <37798F29.1BB551BC@ix.netcom.com>
I have a search engine for my database that works well. When I go into
my browser and type
"http://www.mywebpage.com/cgi-bin/DB_Search/db_search.cgi?setup_file=sample.setup.cgi"
and enter some values in the frontend form, the engine displays 10 hits,
then I can click the "see next # hits" button and get my next 10 hits.
Perfect.
However, if I try putting code into my HTML page for the frontend form
on "http://www.mywebpage.com" and then test it as a client, the first 10
hits display, but the next hits do not. The page says, "The document
contained no data."
What's wrong? I'm getting only 10 hits and that's it.
Z
------------------------------
Date: Wed, 30 Jun 1999 02:09:14 GMT
From: laar@ix.netcom.com (Laar)
Subject: Re: UK Perl job vacancy
Message-Id: <377979ff.739250@nntp.ix.netcom.com>
On Tue, 29 Jun 1999 00:59:01 -0400, rjk@linguist.dartmouth.edu (Ronald
J Kimball) wrote:
>> o Travel to clients when required (e.g., Leeds, Holland, Denmark).
>
>Is it true what they say about the nightlife in Amsterdam?
>(If you know what I mean...)
Yes. Heh, heh... Oooohhhh yes...
--
Laar
www.netcom.com/~laar/index.html
------------------------------
Date: Wed, 30 Jun 1999 13:25:27 +1000
From: Justin Wills <justin@nectar.com.au>
Subject: Re: What is First line in Perl5 in Sun Micro...
Message-Id: <37798E27.C781588@nectar.com.au>
don't know if it'l work, byt try
#!$ENV{'YOURVARNAME'}/perl
"139af0000-HornL(DR9127)1w81" wrote:
> Along the lines of the first line shebang question,
> Is there any way to use an environment variable on the
> first line? For example:
>
> #!$MY_PERL_PATH/perl5
>
> Or possibly some other syntax using ENV?
>
> Thanks for any help
>
> --
>
> Larry Horn
> Lucent Technologies
> lhorn@lucent.com
------------------------------
Date: 30 Jun 1999 02:20:15 GMT
From: Dan Sugalski <sugalskd@netserve.ous.edu>
Subject: Re: XS and OOP references?
Message-Id: <7lbusv$cmq$1@news.NERO.NET>
Seth David Johnson <sjohns17@uic.edu> wrote:
: Hi-
: Can anyone suggest a good reference for writing constructors, returning
: blessed object references, etc. etc. in XS? I'm working on a module
: right now and would prefer not to do my construction in Perl (for reasons
: that are a bit lengthy).
Well, perlxstut, perlxs, and perlguts all apply here. There's not anything
all that special about objects, at least nothing that XS code really needs
to be concerned with. The trickiest part, such as it is, is the blessing,
and a quick call to newSVrv with a package name will bless a variable and
return you a reference suitable for framing or returning to your caller.
Dan
------------------------------
Date: Wed, 30 Jun 1999 02:26:49 GMT
From: pigs_can_fly@mindless.com (Jason Q.)
Subject: Re: yahoo like search engine
Message-Id: <377e7f59.96325496@news.cyberway.com.sg>
"Big Poppa" <bigpun@mindspring.com> wrote:
>Hello....I need a cgi script that is like Yahoo. Where you can type in
>keywords or select from groups or categories.....
>
>email me at bigpun@mindspring.com if you can help!
>
>Thanx
>Jim
Perhaps you would find this site useful:
http://www.generationterrorists.com/sojourn_superuser.html
Regards,
Jason Q.
------------------------------
Date: 12 Dec 98 21:33:47 GMT (Last modified)
From: Perl-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Special: Digest Administrivia (Last modified: 12 Dec 98)
Message-Id: <null>
Administrivia:
Well, after 6 months, here's the answer to the quiz: what do we do about
comp.lang.perl.moderated. Answer: nothing.
]From: Russ Allbery <rra@stanford.edu>
]Date: 21 Sep 1998 19:53:43 -0700
]Subject: comp.lang.perl.moderated available via e-mail
]
]It is possible to subscribe to comp.lang.perl.moderated as a mailing list.
]To do so, send mail to majordomo@eyrie.org with "subscribe clpm" in the
]body. Majordomo will then send you instructions on how to confirm your
]subscription. This is provided as a general service for those people who
]cannot receive the newsgroup for whatever reason or who just prefer to
]receive messages via e-mail.
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 6173
**************************************