host, but I don't really understand enough about libraries and
all to even ask an intelligent question.
Thanks much!
Fred Kittelmann
hOURS
215-551-1490
www.hoursystem.net
get an error message saying that url wasn't found on the
server. Can anyone help? Thank you.
By the way, in case you're wondering, that bit in the script with
$propertime is because that site uses the time to calculate
longitude. I tried this by just putting in an appropriate valu
\n"}
$A[0][1] = "red";
print $A[5][0];
print scalar(%A);
Fred Kittelmann
hOURS
215-551-1490
www.hoursystem.net
-
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+
countries) for 2¢/min or less.
lable open source?
Thanks,
Fred Kittelmann
Fred Kittelmann
hOURS
215-551-1490
www.hoursystem.net
-
How low will we go? Check out Yahoo! Messengers low PC-to-Phone call rates.
ut what might be going on? (I can provide more
details if needed.)
Thanks much,
Fred Kittelmann
hOURS
215-551-1490
www.hoursystem.net
-
Do you Yahoo!?
Get on board. You're invited to try the new Yahoo! Mail.
came when I cut and
pasted it.) Despite a couple zeroes near the end there, that doesn't look
very binary to me. What's that all about?
Any help would be appreciated. Why is this illegal? Did I get byte
code? If so where is it?
Fred Kittelmann
hOURS wro
Hi all,
I've written a PERL program that runs other PERL programs (through
'require' statements and what not). It worked fine for a couple tasks I had in
mind, but there's an obstacle ahead in the next thing I want to use it for.
The programs it will execute may (or may not) have
ame`;
my $syntax_ok = 0;
foreach my $line ( @output ) {
if ( $line =~ /$progname syntax OK/ ) {
$syntax_ok = 1;
last;
}
}
Travis Thornhill wrote:
Would something like this (with backticks) work?
It's probably not as robust as using 'do BLOCK' but it might
wo
Hi all,
I'm trying to make a list of lists. The main list will have 926
sublists. Each sublist will have 7 items. I organized the data into a very
nice text file all formatted the way (I thought?) I needed it to be. The text
file looks like so:
a, b, c, d, e, f, g
h
Jen Spinney <[EMAIL PROTECTED]> wrote: On 11/20/06, hOURS wrote:
> Recently I posed a question on here regarding a program I have that runs
> other programs (through require statements and what not). My problem was
> that the programs getting run might have syntax errors a
se I don't see a need to
work with this example. I'm just looking for someone to tell me how alarm
works. A few sentences in English will be fine. No code really need be
written.
Fred
"D. Bolliger" <[EMAIL PROTECTED]> wrote: hOURS am Donnerstag, 30. Nove
Thanks for trying, but this right here is the heart of the matter. Id be
using alarm to time a certain thing. It seems to me, any explanation of how
to do that, be it plain English or sample code has to incorporate that thing.
My program in a nutshell goes:
Blah bla
m $timeout;
require longRunningModule;
alarm 0;
}
if ($@) {
if ($@ =~ /timed out/) {
# timeout
} else {
# some other error
}
}
Fred Kittelmann
hOURS
215-551-1490
www.hoursystem.net
__
Do You Yahoo!?
Tired of spam?
Thanks. I did change the longRunningModule part. The syntax error was in the
line:
if ($@) {
apparently at the end of the line, which I believe usually means opening
brackets without closing brackets or vice versa.
Fred
Jay Savage <[EMAIL PROTECTED]> wrote: On 1/8/07, hOURS
Dave Gray <[EMAIL PROTECTED]> wrote: On 1/8/07, hOURS wrote:
> Hi everyone,
> Jay offered me the following code to help with something. I don't undertand
> it, but tried to use it anyway to see if it would work. The computer told me
> there was a syntax error in th
Jay Savage <[EMAIL PROTECTED]> wrote: On 1/11/07, hOURS wrote:
[snip]
> Some modifications I made: I changed the names of the programs being tested
> to fit what I had. I reduced the alarm time from one hour down to a few
> seconds. I included statements to print out error
Jay Savage <[EMAIL PROTECTED]> wrote: On 1/11/07, hOURS wrote:
>
>
> Jay Savage wrote: On 1/11/07, hOURS wrote:
> [snip]
> Thanks Jay. I can't believe I didn't think of that myself. I put in the
> 1;'s and the "or die". It's not that
Hi,
I wrote to the list with this issue before and got some suggestions, but
nothing worked. I ended up shelving it, but now would like to try again.
I have a thousand scripts I'd like to check for syntax errors. (Long
story that.) All I need is a list of which ones have er
Jenda Krynicky <[EMAIL PROTECTED]> wrote: From: hOURS
> Hi,
> I wrote to the list with this issue before and got some suggestions, but
> nothing worked. I ended up shelving it, but now would like to try again.
> I have a thousand scripts I'd like to check fo
"Wagner, David --- Senior Programmer Analyst --- WGO" <[EMAIL PROTECTED]>
wrote:
> -Original Message-
> From: hOURS [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 19, 2007 13:17
> To: Perl Beginners
> Subject: Re: STDOUT
>
>
>
> Jend
Hello all,
I write CGI scripts for my website in PERL. When I used to upload them with my
FTP program I made sure to do so in ASCII mode rather than binary. My host
made me switch to sFTP however. I use FIlezilla, and can't for the life of me
find out how to choose the mode on that. Unfortun
com>
Subject: Re: ASCII/binary endline character trouble
To: "hOURS"
Cc: "Perl Beginners" , perl-begin...@yahoogroups.com
Date: Sunday, March 25, 2012, 9:35 PM
Hi Fred,
Please, check my comments and possible solution within your mail.
On Sun, Mar 25, 2012 at 11:45 PM, hOUR
--- On Tue, 3/27/12, Rob Dixon wrote:
From: Rob Dixon
Subject: Re: ASCII/binary endline character trouble
To: beginners@perl.org
Cc: "hOURS"
Date: Tuesday, March 27, 2012, 3:51 AM
On 25/03/2012 23:45, hOURS wrote:
>
> I write CGI scripts for my website in PERL. When I used to uploa
Hi all,
I read of a perl function called param, which is part of the CGI.pm perl
library. The first simple program I wrote trying to use it didn't work
though. At first I thought the ISP hosting my site didn't provide this
library, but I was able to use other commands from it suc
24 matches
Mail list logo