[10431] in Perl-Users-Digest
Perl-Users Digest, Issue: 4024 Volume: 8
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Tue Oct 20 17:03:57 1998
Date: Tue, 20 Oct 98 14:00:21 -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, 20 Oct 1998 Volume: 8 Number: 4024
Today's topics:
Re: Backgrounding long processes? (Joergen W. Lang)
Re: Boston.pm will be Quiz Kings [was] Randal's Big Day (Adam Turoff)
Re: Boston.pm will be Quiz Kings [was] Randal's Big Day <uri@camel.fastserv.com>
Re: Boston.pm will be Quiz Kings [was] Randal's Big Day <eashton@bbnplanet.com>
Re: Broken DNS resoving under W95/CGI/Activestate?? <rootbeer@teleport.com>
Re: Camel book: References. <jimfl@bnl.gov>
Re: Can someone some help me complete this variable <rootbeer@teleport.com>
Re: Can't create a socket on win95 HELP!!!! <esch@circlesoft.nl>
Re: changing route for users via html page <rootbeer@teleport.com>
Re: End of File..... (Joergen W. Lang)
File locking question... (Danny Groppo)
Re: File upload from www to Windows server <rootbeer@teleport.com>
Re: help shorten one-liner (Joergen W. Lang)
Re: help: hash (Joergen W. Lang)
How to link Perl script (cgi) with ready-made Windows a <dariusz@usa.net>
Re: my perl programs can't use sendmail - HELP please! <rootbeer@teleport.com>
Net::FTP on VMS?? (Axel Kuester)
Re: New Module: File::Finder -- OO version of File::Fin <uri@camel.fastserv.com>
Re: Perl Q: wrong output Q's <rootbeer@teleport.com>
Special: Digest Administrivia (Last modified: 12 Mar 98 (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Tue, 20 Oct 1998 22:12:36 +0100
From: jwl@_munged_worldmusic.de (Joergen W. Lang)
Subject: Re: Backgrounding long processes?
Message-Id: <1dh7n32.h6c8k6u7v4zpN@host014-210.seicom.net>
David C. Vongrad <dvongrad@freerealtime.com> wrote:
> I'd like to background a long process and still have my script run,
> something like:
>
> print "Script started.\n";
> `grep -c mystring my-big-file.txt &`; # background this
> print "Script ended.\n";
>
> The print statements should execute one right after the other and the
> grep finishes whenever. However, I don't get the second print until grep
> is done. It's important that I be able to background the grep (or
> whatever command), but I'm not sure how to do this.
>
> How would I go about implementing something like this on a Unix machine?
>
> TIA,
>
> Dave
man fork(2)
perldoc perlfunc or perldoc -f fork
should get you on the right way, both entered on the command-line.
Joergen
--
To reply by email please remove _munged_ from address Thanks !
-------------------------------------------------------------------
"Everything is possible - even sometimes the impossible"
HOELDERLIN EXPRESS - "Touch the void"
------------------------------
Date: 20 Oct 1998 16:10:27 -0400
From: ziggy@panix.com (Adam Turoff)
Subject: Re: Boston.pm will be Quiz Kings [was] Randal's Big Day in Big D
Message-Id: <70iqnj$pkp@panix.com>
Elaine -HappyFunBall- Ashton <eashton@bbnplanet.com> wrote:
>Brand Hilton wrote:
>
>> Speaking of which, there was a little discussion of next year's Perl
>> Quiz Show on the DFW.pm mailing list. I was predicting that you and
>> Chris Nandor and a ringer to be named later would be a team next year.
>
>Boston.pm will field a team next year that will crush all competition.
>:) Uri did great for having two greenhorns on his team. Boston is really
>the center of the universe despite popular belief.
The world can be divided into two equal parts -
New York and Greater New York. Youse gotta problem wit dat?
[spoken like a true philadelphian. :-)]
Z.
------------------------------
Date: 20 Oct 1998 16:23:41 -0400
From: Uri Guttman <uri@camel.fastserv.com>
Subject: Re: Boston.pm will be Quiz Kings [was] Randal's Big Day in Big D
Message-Id: <sar7lxvnfsi.fsf@camel.fastserv.com>
>>>>> "E-A" == Elaine -HappyFunBall- Ashton <eashton@bbnplanet.com> writes:
E-A> Brand Hilton wrote:
>> Speaking of which, there was a little discussion of next year's
>> Perl Quiz Show on the DFW.pm mailing list. I was predicting that
>> you and Chris Nandor and a ringer to be named later would be a team
>> next year.
E-A> Boston.pm will field a team next year that will crush all
E-A> competition. :) Uri did great for having two greenhorns on his
E-A> team. Boston is really the center of the universe despite popular
E-A> belief.
the greenhorns did help out, though i was almost alone in the last
round.
i don't think jon o. will allow contestants from last year to play next
year. he said something like that but maybe it was only the
ringer^H^H^H^H^Hwinners who can't come back. i think a team of elaine,
chris and me would be killer!
uri
--
Uri Guttman Fast Engines -- The Leader in Fast CGI Technology
uri@fastengines.com http://www.fastengines.com
------------------------------
Date: Tue, 20 Oct 1998 20:41:10 GMT
From: Elaine -HappyFunBall- Ashton <eashton@bbnplanet.com>
Subject: Re: Boston.pm will be Quiz Kings [was] Randal's Big Day in Big D
Message-Id: <362CF2DD.C5DBB489@bbnplanet.com>
Uri Guttman wrote:
> the greenhorns did help out, though i was almost alone in the last
> round.
And the fact that they were father and son was really sweet :).
> i think a team of elaine, chris and me would be killer!
We should do a ny.pm and boston.pm death match just to prove, once and
for all, that Boston is the one true center of the universe! *snicker*
e.
After all, the cultivated person's first duty is to
always be prepared to rewrite the encyclopedia. - U. Eco -
------------------------------
Date: Tue, 20 Oct 1998 20:46:50 GMT
From: Tom Phoenix <rootbeer@teleport.com>
Subject: Re: Broken DNS resoving under W95/CGI/Activestate??
Message-Id: <Pine.GSO.4.02A.9810201342350.5534-100000@user2.teleport.com>
On Sun, 18 Oct 1998, Zdenek Hladik wrote:
> Newsgroups: comp.lang.perl.misc, comp.lang.perl.modules
What does your question have to do with modules? And why did you post it
three separate times?
> I wrote message about this few days ago, but no answer yet.
Please don't act as if someone owes you an answer simply because you
posted a message in a newsgroup. But if nobody answered you the first
time, why should you expect anyone to answer the second time?
> So let me ask, is here anybody who use client to interent services
> under W95/CGI with Activestate Perl (I tested build 502,503 504) and
> has not problems with DNS names resolving?
I'm sure that there are people who have properly-configured systems, and
that they don't have troubles with DNS.
> Resolving seems to work OK under commmand line but does not under for
> example NS Fasttrack or other (I tested small server written under
> DELPHI also ).
Then maybe the problem is with that software.
> It seems that in W95 is problem with winsock under secondary shell?
Could be. I don't know what that means, so I can't say.
If your system is properly configured, it may be that you've found a bug
in ActiveState's Perl. Try the standard distribution instead, and complain
to the folks at ActiveState, if theirs has a bug. Good luck!
--
Tom Phoenix Perl Training and Hacking Esperanto
Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
------------------------------
Date: Tue, 20 Oct 1998 13:06:18 -0400
From: Jim Flanagan <jimfl@bnl.gov>
Subject: Re: Camel book: References.
Message-Id: <362CC30A.C61BAC49@bnl.gov>
I have 'somefunc' bound to the 'any' key.
--Jim
------------------------------
Date: Tue, 20 Oct 1998 20:36:23 GMT
From: Tom Phoenix <rootbeer@teleport.com>
Subject: Re: Can someone some help me complete this variable
Message-Id: <Pine.GSO.4.02A.9810201321230.5534-100000@user2.teleport.com>
On Sun, 18 Oct 1998, Joe wrote:
> Subject: Can someone some help me complete this variable
Please check out this helpful information on choosing good subject
lines. It will be a big help to you in making it more likely that your
requests will be answered.
http://www.perl.com/CPAN/authors/Dean_Roehrich/subjects.post
> Basically I have a dynamic ip and this output which is produced in a
> log file can give me my ip but it changes.
I'm not sure what you mean; your prose is unclear. Here's my attempt at a
translation:
When I connect to the Internet, I have an IP address which is
assigned dynamically by my ISP. Each connection may have a
different IP address. The IP address is written to a logfile
at the time I make the connection.
> I use a webramp which a router with modems on it and it make the
> connection and this is the only way i have found to get the ip.
Translation:
I use something called webramp. It may be that 'webramp' is
software, hardware, or my ISP's name, or maybe it's something
else entirely. It involves a router with modems on it, and the modems
make the connection to the ISP, but this is completely irrelevant
with respect to my current problem. Connecting to the ISP is the
only way I have found to obtain an IP address.
> I know it will always start with 153.37.55.XX so what I want to do is
> grep the file every hour and get the last entry where it shows
> 153.37.55.65 and if it changes it will produce the ip for the output
> if the ip hasn't changed then it will give the same ip.
Translation:
I know that the IP address assigned will be in the range beginning
153.37.55.*. What I want my program to do is to grep some file (I
think it's that logfile) every hour to find the last entry with a
number in this range. I want to check to see whether this number
is the same as some other number, but I don't know what difference
that makes. Then I want my program to output the IP number.
> How can this be accomplished with a script.
Translation:
Please write this program for me.
You'll need to write this yourself. Try reading the Llama book (Learning
Perl) to learn how to open and read files. In order to start a utility
every hour, your system may have cron or a similar facility available. The
perlre, perlop, and perlfunc manpages should also be useful.
On the other hand, it might be faster and more reliable to parse the
output of a system utility which can report your networking status. Check
your system's docs to see whether there's such a utility.
Good luck!
--
Tom Phoenix Perl Training and Hacking Esperanto
Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
------------------------------
Date: Tue, 20 Oct 1998 22:02:57 +0100
From: Eric van Esch <esch@circlesoft.nl>
Subject: Re: Can't create a socket on win95 HELP!!!!
Message-Id: <362CFA81.369B@circlesoft.nl>
John Smallberries wrote:
>
> I have been trying to use the HTTP::Daemon packake on win95. The example
> from the
> package (reproduced below) works like a dream on Linux but on 95 it
> always returns a port of 0, even if if explicitly set the port.
>
> I'm using ActiveState Perl (I think 5.02, it's the one from the Perl
> Conference)
>
> If anyone knows how to get this to work on 95 I could really use this.
>
I thinks it's a bug in 5.02. Get
ftp://ftp.activestate.com/ActivePerl/Api504e.exe
Eric
------------------------------
Date: Tue, 20 Oct 1998 20:56:51 GMT
From: Tom Phoenix <rootbeer@teleport.com>
Subject: Re: changing route for users via html page
Message-Id: <Pine.GSO.4.02A.9810201355370.5534-100000@user2.teleport.com>
On Mon, 19 Oct 1998, Freerk Jongsma wrote:
> The problem I have now is that I could not find how I have to fix the
> problem of executing the 'su' command for becoming root user.
That's not how you should do it. If your program needs to "become" another
user, it should be set-id. See the perlsec manpage, and your system's
documentation on set-id programming. It's potentially fraught with
security worries, so program with care. Good luck!
--
Tom Phoenix Perl Training and Hacking Esperanto
Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
------------------------------
Date: Tue, 20 Oct 1998 22:12:50 +0100
From: jwl@_munged_worldmusic.de (Joergen W. Lang)
Subject: Re: End of File.....
Message-Id: <1dh7ndn.ov6u1w1kf2wuiN@host014-210.seicom.net>
Darren Ward <dward@pla.net.au> wrote:
> What methods do people use for end of file detection on ascii flat file?
>
> The way I tried seems to miss occasionally for a weird reason and I'd
> like a better answer.
The eof() - function, for example.
Joergen
--
To reply by email please remove _munged_ from address Thanks !
-------------------------------------------------------------------
"Everything is possible - even sometimes the impossible"
HOELDERLIN EXPRESS - "Touch the void"
------------------------------
Date: Tue, 20 Oct 1998 20:03:31 GMT
From: gosdpads@yahoo.com (Danny Groppo)
Subject: File locking question...
Message-Id: <362cead9.529097041@nntp.cts.com>
I am reading the perl cookbook right now. On page 227 it say "Less
common O_* flags somes available include O_SHLOCK, O_EXLOCK, ....
Consult your open(2) manpage..."
I am running FreeBSD and did consult my man page. The O_SHLOCK,
O_EXLOCK are available.
So, if write,
sysopen(SOURCE, $path, O_WRONLY|O_APPEND|O_CREAT|O_EXLOCK);
an exclusive lock will be made?
If so, how do I code it if the lock fails (ie, it is already locked)?
I mean, how do I wait until the file is available?
Danny Groppo
gosdpads@yahoo.com
------------------------------
Date: Tue, 20 Oct 1998 20:02:24 GMT
From: Tom Phoenix <rootbeer@teleport.com>
Subject: Re: File upload from www to Windows server
Message-Id: <Pine.GSO.4.02A.9810201302130.5534-100000@user2.teleport.com>
On Sat, 17 Oct 1998, Daniel wrote:
> I have a problem with upload from a browser
If you're following the proper protocol but some browser or server doesn't
cooperate, then it's the other program's fault. If you're not following
the protocol, then it's your fault. If you aren't sure about the protocol,
you should read the protocol specification. If you've read it and you're
still not sure, you should ask in a newsgroup about the protocol.
Hope this helps!
--
Tom Phoenix Perl Training and Hacking Esperanto
Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
------------------------------
Date: Tue, 20 Oct 1998 22:12:57 +0100
From: jwl@_munged_worldmusic.de (Joergen W. Lang)
Subject: Re: help shorten one-liner
Message-Id: <1dh7nnf.198xbgw1o0ko2bN@host014-210.seicom.net>
<jkane@my-dejanews.com> wrote:
> FYI: The pattern is looking for a semicolon, right curly brace, or left curly
> brace followed by anything, a #, a space, and finally anything more. I figure
> that there will never be comments in the middle of a line that does not have
> one of these chars delimiting the end of it. Am I wrong?
Yes.
For example in extended regexes like this one:
$string =~ s/ (
(^\w) #at the beginning of the line
| # or
(\s\w) #preceded by whitespace
)
/\U$1/xg;
$string =~ /([\w']+)/\u\L$1/g;
There can also be more than one space and/or tabs. Comments can also be
in the beginning of a line. And sometimes people even do multi-line
comments, as described in perlfaq7
How can I comment out a large block of perl code?
Use embedded POD to discard it: (..etc..)
#!/usr/bin/perl -w
print "Something ";
=for nobody
Here is some POD style commenting, which
can throw your whole concept of commenting way over...
=cut
print "under the bed is drooling.";
__END__
Hmmm....
Joergen
--
To reply by email please remove _munged_ from address Thanks !
-------------------------------------------------------------------
"Everything is possible - even sometimes the impossible"
HOELDERLIN EXPRESS - "Touch the void"
------------------------------
Date: Tue, 20 Oct 1998 22:13:14 +0100
From: jwl@_munged_worldmusic.de (Joergen W. Lang)
Subject: Re: help: hash
Message-Id: <1dh7osa.1mmlnwc1l80whqN@host014-210.seicom.net>
Rolf Rettinger <rolf.rettinger@desy.de> wrote:
> I have a list @groups, where the administrative groups of an user are given
> and I have a list @users or better $users[$i], where the members of each
> group in @groups are given. My problem is how to write that information in a
> %hash that I can correlate each group and the corresponding users from the
> web by a select statement or a scroll menue?
>
> Thank's Rolf
Hard to guess from your description.
Please give some examples of the contents of
@groups, @users.
It seems to me, that you want to use something like a
"Hash of Lists" or similar ->
perldoc perldsc
perldoc perllol
Joergen
--
To reply by email please remove _munged_ from address Thanks !
-------------------------------------------------------------------
"Everything is possible - even sometimes the impossible"
HOELDERLIN EXPRESS - "Touch the void"
------------------------------
Date: Tue, 20 Oct 1998 20:13:32 GMT
From: Darius Jack <dariusz@usa.net>
Subject: How to link Perl script (cgi) with ready-made Windows application ?
Message-Id: <362CDEAC.17A5@usa.net>
Hi,
how can I transfer parameters from CGI-Perl application (input from web
page) into ready-made MS WIN application (search engine), running on PC,
having no source code, no description do DLL files.
Any chance to make such a data-link ?
regards,
Jack
dariusz@usa.net
------------------------------
Date: Tue, 20 Oct 1998 20:06:02 GMT
From: Tom Phoenix <rootbeer@teleport.com>
Subject: Re: my perl programs can't use sendmail - HELP please! (urgent!)
Message-Id: <Pine.GSO.4.02A.9810201304430.5534-100000@user2.teleport.com>
On Sat, 17 Oct 1998 ultrabyte@my-dejanews.com wrote:
> Subject: my perl programs can't use sendmail - HELP please! (urgent!)
Did you know that you posted this (at least) twice, with different
headers?
Please check out this helpful information on choosing good subject
lines. It will be a big help to you in making it more likely that your
requests will be answered.
http://www.perl.com/CPAN/authors/Dean_Roehrich/subjects.post
> Now the perl-scripts work, but no emails can be sent. The path is ok
> (my ISP told me that: /bin/sendmail/).
Are you sure that /bin/sendmail/ is the name of the program you want?
If you're using the proper commands to run another program from perl, but
the other program doesn't cooperate, then it's the other program's fault.
If you're not using the proper commands, then it's your fault. If you
aren't sure about the proper commands, you should read the program's
documentation. If you've read it and you're still not sure, you should ask
in a newsgroup about the program.
Hope this helps!
--
Tom Phoenix Perl Training and Hacking Esperanto
Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
------------------------------
Date: Tue, 20 Oct 1998 19:42:16 GMT
From: A.Kuester@ostalb.netsurf.de (Axel Kuester)
Subject: Net::FTP on VMS??
Message-Id: <362ce660.54788061@news.dicon.de>
Hello,
does anyone know how to build Net::FTP on a VMS Machine?
I took the version fron CPAN (NET-ext... which should contain it) but
got problems whenm making it
Error Message as below.
Also, it does not help to call mmkk several times as on other
(VMS-)modules
Does anyone has an Idee?
Thanks, Axel
$ mmk
perl "-Iperl_root:[lib]" "-MExtUtils::Install" -e "pm_to_blib({split('
',<STDIN>
)},'[.blib.lib.auto]')" <.MM_tmp
cp [.lib.net]unix.pm [.blib.lib.net]unix.pm
AutoSplitting blib/lib/net/unix.pm (blib/lib/auto/Net/UNIX)
cp [.lib]net. [.blib.lib]net.
cp [.lib.net]unix. [.blib.lib.net]unix.
cp [.lib.net]tcp.pm [.blib.lib.net]tcp.pm
AutoSplitting blib/lib/net/tcp.pm (blib/lib/auto/Net/TCP)
cp [.lib.net]udp.pm [.blib.lib.net]udp.pm
AutoSplitting blib/lib/net/udp.pm (blib/lib/auto/Net/UDP)
cp [.lib.net.unix]server.pm [.blib.lib.net.unix]server.pm
cp [.lib.net]tcp. [.blib.lib.net]tcp.
cp [.lib.net]gen.pm [.blib.lib.net]gen.pm
AutoSplitting blib/lib/net/gen.pm (blib/lib/auto/Net/Gen)
cp [.lib.net.tcp]server.pm [.blib.lib.net.tcp]server.pm
cp [.lib.net]inet.pm [.blib.lib.net]inet.pm
AutoSplitting blib/lib/net/inet.pm (blib/lib/auto/Net/Inet)
perl "-Iperl_root:[lib.VMS_AXP.5_00502]" "-Iperl_root:[lib]" -e "use
ExtUtils::M
ksymlists;" -e "Mksymlists('NAME' => 'Net::Gen', 'DL_FUNCS' => {
}, 'DL_VAR
S' => [])"
perl -e "print
""[.blib.arch.auto.Net.Gen]Gen.olb/Include=Gen\n[.blib.arch.auto.
Net.Gen]Gen.olb/Library\n"";" >>GEN.OPT
perl -e "print qq{PerlShr/Share\n}" >>GEN.OPT
Copy/NoConfirm GEN.OPT [.BLIB.ARCH.AUTO.NET.GEN]GEN.OPT
perl "-Iperl_root:[lib.VMS_AXP.5_00502]" "-Iperl_root:[lib]"
perl_root:[lib.ExtU
tils]xsubpp -typemap perl_root:[lib.ExtUtils]typemap -typemap typemap
GEN.xs >G
EN.c
CC/DECC
/Include=[]/Standard=Relaxed_ANSI/Prefix=All/Obj=.obj/NoList/Define=("VE
RSION=""0.87""","XS_VERSION=""0.87""")/Include=(perl_root:[lib.VMS_AXP.5_00502.C
ORE])/Optimize GEN.c
newXSconstIV("Net::Gen::RD_NODATA", RD_NODATA, file);
............................................^
%CC-E-UNDECLARED, In this statement, "$rd_nodata" is not declared.
at line number 780 in file PERL_ROOT:[LIB.NET-EXT-0_87]GEN.XS;1
newXSconstUV("Net::Gen::VAL_O_NONBLOCK", VAL_O_NONBLOCK,
file);
.................................................^
%CC-E-UNDECLARED, In this statement, "$o_nonblock" is not declared.
at line number 791 in file PERL_ROOT:[LIB.NET-EXT-0_87]GEN.XS;1
newXSconstUV("Net::Gen::VAL_EAGAIN", VAL_EAGAIN, file);
.............................................^
%CC-E-UNDECLARED, In this statement, "$eagain" is not declared.
at line number 794 in file PERL_ROOT:[LIB.NET-EXT-0_87]GEN.XS;1
%MMK-F-ERRUPD, error status %X10B91262 occurred when updating target
GEN.OBJ
My perl is as following:
$ perl "-V"
Summary of my perl5 (5.0 patchlevel 5 subversion 2) configuration:
Platform:
osname=VMS, osvers=V7.1, archname=VMS_AXP
uname='VMS alcar1 V7.1 AlphaStation 200 4/100'
hint=none, useposix=false, d_sigaction=define
usethreads=undef useperlio=undef d_sfio=undef
Compiler:
cc='CC/DECC', optimize='undef', gccversion=undef
cppflags='undef'
ccflags
='/Include=[]/Standard=Relaxed_ANSI/Prefix=All/Obj=.obj/NoList'
stdchar='char', d_stdstdio=define, usevfork=true
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8, d_longdbl=define,
longdblsize=16
alignbytes=8, usemymalloc=N, prototype=define
Linker and Libraries:
ld='Link', ldflags ='/NoTrace/NoMap'
libpth=/sys$share /sys$library
libs=
libc=(DECCRTL), so=exe, useshrplib=undef, libperl=undef
Dynamic Linking:
dlsrc=dl_vms.c, dlext=exe, d_dlsymun=undef, ccdlflags=''
cccdlflags='', lddlflags='/Share'
Characteristics of this PERLSHR image:
Compile-time options: DEBUGGING
Built under VMS
Compiled at Oct 19 1998 13:42:07
%ENV:
PERL_ROOT="DKA0:[SOFTWARE.PERL.]"
@INC:
perl_root:[lib.VMS_AXP.5_00502]
perl_root:[lib]
perl_root:[lib.site_perl.VMS_AXP]
perl_root:[lib.site_perl]
.
$
------------------------------
Date: 20 Oct 1998 16:34:36 -0400
From: Uri Guttman <uri@camel.fastserv.com>
To: John Porter <jdporter@min.net>
Subject: Re: New Module: File::Finder -- OO version of File::Find
Message-Id: <sar67dfnfab.fsf@camel.fastserv.com>
>>>>> "JP" == John Porter <jdporter@min.net> writes:
JP> For each directory entry encountered during the traversal, the
JP> callback is called. The callback is passed one additional argument:
JP> the name of the file in the current directory; also, you are chdir'd
^^^^^
JP> to that directory whenever the callback is called.
having followed this thread, that seems to be a doc bug. i can't find
chdir anymore in your code below there!
if the callback is not chdir'd to the current dir, that is a significant
(if useful for OO, etc.) difference from the old file::find. that should
be highlighted more (when corrected).
uri
--
Uri Guttman Fast Engines -- The Leader in Fast CGI Technology
uri@fastengines.com http://www.fastengines.com
------------------------------
Date: Tue, 20 Oct 1998 20:10:51 GMT
From: Tom Phoenix <rootbeer@teleport.com>
Subject: Re: Perl Q: wrong output Q's
Message-Id: <Pine.GSO.4.02A.9810201308030.5534-100000@user2.teleport.com>
On Sat, 17 Oct 1998, Bob Mariotti wrote:
> Now - here is the problem. Some times, and we CANNOT duplicate it, our
> customers are stating that they are receiving data that is not theirs.
> We do compare a reference number received on each retrieved record to
> assure that it equals the reference number of the requesting page.
Maybe you're having concurrency problems. Are you locking files properly
when that's needed?
> 1) is there a better way to communicate with tty ports for string I/O
> other than backtics?
The FAQ talks about using serial ports.
> 2) is there a better method to assure threat consistency other that
> validating reference numbers?
Perhaps, but they're not Perl-specific. You could use the same methods
with virtually any programming language.
> 3) what happens when the calling web page aborts prior to receiving all
> its output? Is this what may be being delivered to the next person (ie:
> it's in limbo in stdout)?
Maybe you should check the docs, FAQs, and newsgroups about web-related
topics for this one.
Good luck!
--
Tom Phoenix Perl Training and Hacking Esperanto
Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
------------------------------
Date: 12 Jul 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 Mar 98)
Message-Id: <null>
Administrivia:
Special notice: in a few days, the new group comp.lang.perl.moderated
should be formed. I would rather not support two different groups, and I
know of no other plans to create a digested moderated group. This leaves
me with two options: 1) keep on with this group 2) change to the
moderated one.
If you have opinions on this, send them to
perl-users-request@ruby.oce.orst.edu.
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 4024
**************************************