John V. Pataki wrote:
> Bill,
>
> The code works fine as a standalone script... however
> it doesn't accomplish the task of letting the parent
> die off...
>
> I looked at the docs for fork() and found this tidbit:
>
> If the parent process is killed (either using Perl's
> kill() builtin, or u
Bill,
The code works fine as a standalone script... however
it doesn't accomplish the task of letting the parent
die off...
I looked at the docs for fork() and found this tidbit:
If the parent process is killed (either using Perl's
kill() builtin, or using some external means) all the
pseudo-pr
John V. Pataki wrote:
> I need to run my perl program as a clone because I am
> calling it from within another application that intend
> to talk back to. The application's execute command
> wants to wait until the call to perl program is
> finished before continuing.
>
> I had this working at on
Chris [perl AT thesnyderhome DOT com] wrote:
>Mike Arms wrote:
>>You are making the incorrect assumption that the function
>>call intRand(45) will get evaluated inside of double quotes.
>>This is not the case.
>>
>>You can do it in two steps:
>>
>> my $index = intRand(45);
>> print " $class[$inde
I need to run my perl program as a clone because I am
calling it from within another application that intend
to talk back to. The application's execute command
wants to wait until the call to perl program is
finished before continuing.
I had this working at one time and now it seems to not
work (
[EMAIL PROTECTED] wrote:
Hi,
I shall write a program on Win32 (with gui :() that will print labels with
Barcodes and other information on it. I already found a barcode-module
(which outputs files it seems, but as a way around I could read that file in
then), but actually I never printed from perl y
Some UNIX implementations have fuser. I know AIX does for sure. I just
checked FreeBSD and it does not. Your mileage may vary. See
http://www.opengroup.org/onlinepubs/007908799/xcu/fuser.html
At 09:13 AM 10/7/2004 -0700, Davis, Dan T wrote:
Content-class: urn:content-classes:message
Content-
It wasn't the $64,000 question I should've been asking, but the $86,400 question! Once I replaced the divisor, everything worked.
Thanks to all who contributed this piece of the puzzle!!
Deane___
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscrib
I am writing a script to make an RSS file. I am not using XML::RSS because,
among other things, I need to get headlines and links from one page and then
go to that url to get descriptions. Anyway, it works well, however I am
occasionally getting RSS feed validation errors -- "XML Parsing error:
:
[EMAIL PROTECTED] wrote:
> Gentle Readers,
>
> I'm trying to eliminate the calculation of Julian Day Numbers from a
> file aging script (yes, still). I hit on the clever idea of using
> directly the mtime and atime figures returned by stat() and comparing
> them with the number returned by time(),
Title: Checking file for use
Does anyone know how to check to see if a file is currently open and being used by someone? I can't seem to find it in the documentation. I want to make sure a file is not being written to before I move it...
Thanks,
Dan
[EMAIL PROTECTED] wrote:
So the $64,000 questions are: WHERE did I go wrong, WHAT did I miss?
You're assuming that using 100,000 as an approximation for 86,400 is
good enough.
It isn't.
___
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http:
Thanks!
-Original Message-
From: $Bill Luebkert [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 06, 2004 8:15 PM
To: Gary Nielson
Cc: [EMAIL PROTECTED]
Subject: Re: Question about parsing an html document
Gary Nielson wrote:
> I am trying to get the first paragraph of an article fro
I think your conclusion about a one-to-one correspondence with the date is
completely incorrect. There are 86400 seconds in a day, not 10. Perhaps
that explains your date offset? (10 - 86400 = 13600 seconds per day of
'leakage'?)
There is also no relationship between utc time and localtime
Gentle Readers,
I'm trying to eliminate the calculation of Julian Day Numbers from a file aging script (yes, still). I hit on the clever idea of using directly the mtime and atime figures returned by stat() and comparing them with the number returned by time(), which would be "today". Clever boy
>> if ($line =~ /(.*?)\/p>/i) {
> if ($line =~ /(.*?)\/p>/is) {
The difference is 's' allows the '.' to match newlines - you probably
have one or two before the first tag. Thist
$line =~ s/[\r\n]+//g;
will help in case your running platform has a different '\n' ($\ or $/ I
always forget) de
Gentle Readers,
I'm trying to eliminate the calculation of Julian Day Numbers from a file aging script (yes, still). I hit on the clever idea of using directly the mtime and atime figures returned by stat() and comparing them with the number returned by time(), which would be "today". Clever boy
Just an FYI:
Note that the get can write directly
to a scalar.
$req = HTTP::Request->new(GET => 'http://www.bradenton.com/mld/bradenton/rss/9837290.htm');
Eliminating the need for the join command.
Basil
"$Bill Luebkert"
<[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
06/10/2004 07:15 PM
> I'm unable to configure active perl with apache 2
Search for "Option +ExecCGI" in Apache manual.
Petr Vileta, Czech republic
___
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Hi Chad,
I think you did not initialize your listBox.
Create the listBox in the MainWindow or a Frame of the MainWindow as the
example shown:
use strict; # this will show problems
encountered
use warnings;
my $mw=new MainWindow(-title => "Test");
my
Hi,
I shall write a program on Win32 (with gui :() that will print labels with
Barcodes and other information on it. I already found a barcode-module
(which outputs files it seems, but as a way around I could read that file in
then), but actually I never printed from perl yet. How is that accompli
21 matches
Mail list logo