> Hi!
>
> I tried this one and worked just fine in my PC. But when I ru it on the
> remote server (my hosting provider server) it does not return anything.
Just
> "script produced no output ". Like it didn't know where GD.pm is located.
>
> My perl version is 5.006 and the remote server version
Hi Robert,
> I'm having some problems installing Tk.pm on a Windows 2K machine
> using Perl 626
> ppm installs all the files but they are all zero length.
> Any Ideas how to get around this? I've tried downloading the zip file
> and doing a local ppm but it still fails.
> ___
- Original Message -
From: "rotaiv" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 26, 2001 1:48 AM
Subject: Re: Problems reading Excel date format
> At 06/25/2001 11:08 AM, Sisyphus wrote:
>
> >It's a scalar reference. Assuming this is the value held by $cell, to
> >d
>> #
>> 1 $SESSION{$port}{file} = new IO::File "> 2 binmode $SESSION{$port}{file};
>> .
>> .
>> .
>> 10 my $data;
>> 11 if ($SESSION{$port}{file}->read($data,1))
>> 12 {
>> 13 $data =~ s/\cM\cJ\.\cM\cJ/\cM\cJ \cM\cJ/gs;
>> 14
>> 15 $SESSION{$
Peter (and others who have sent a fix), thank you very much.
Sam
>>> Peter Guzis <[EMAIL PROTECTED]> 06/25/01 07:31PM >>>
1. write access should be explicitly specified
open(CAREWEBOUT, "$CareWebOut");
-->
open(CAREWEBOUT, ">$CareWebOut");
2. read access should be too, although it wi
1. write access should be explicitly specified
open(CAREWEBOUT, "$CareWebOut");
-->
open(CAREWEBOUT, ">$CareWebOut");
2. read access should be too, although it will work as is
open(CAREWEBFILE, "$CareWebFile") || die "SORRY, CAN'T FIND $CareWebFile\n";
-->
open(CAREWEBFILE, "<$CareWebFile") || d
Title: Re: Age of a file in days . . . .
If
you're asking for a method of doing it, might I suggest the delta_date function
from the DATE::CALC module. I've jumped through hoops before writing subroutines
to deal with possibilities when using minutes or days of last day of month,
year
First - thanks for the response.
> I have done some graduate work in mathematics and you don't quite have
> enough information to solve this problem -- even if you can effectively
> assume that the world is flat and rectangular in shape. From the way you
> describe the problem, I think you are
> My two cents: I missed the original post, but I suggest you have TWO
> subroutines (preferably within a module).
>
> ll2xy (lat/lon to x/y)
>
> and
>
> xy2ll (x/y to lat/lon)
Exactly what I did in the end!
> Of course, each one would accept a string of arguments such as projection,
> scal
Actually that's probably about as good as any other way. Quoting from the
Perl Cookbook: "Making random numbers is hard."
Also from the Perl Cookbook, here is a way to generate a 10 character string
'randomly':
@chars = ( "A" .. "Z", "a" .. "z", 0 .. 9 );
$password = join( "", @chars[ map { ra
You could try:
use strict;
my @chars = split //, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890';
my $out;
rand (time); # or some better seed
# allow duplicate characters
for (1..10) {
$out .= $chars[int (rand scalar @chars)];
}
# unique characters
for (1..10) {
my $idx = int (rand scalar @chars
This is an embarrassingly simple problem, but I can't seem to solve it in Win 95. All
I want to do is to send the lines meeting a condition to a (user-specified) output
file. This is trivial in Unix, but I can't seem to get DOS/Windows to do it. No
matter what I try, the lines go to the scre
At 04:08 PM 2001.06.25 -0700, Roee Rubin wrote:
>I need to randomly select 10 characters
Can the characters repeat? If so then it's easy -- just select one from the set
randomly ten times. If they have to be unique -- that is, if you need to have a random
sequence or permutation -- then it's a
Hello,
I need to randomly select 10 characters from a character list and am having
some trouble. One way I thought of approaching this is getting a random
number (1-38) and selecting the character in that location of the string.
There must be better ways of approaching this. Any help would be
ap
Can
you run it from your NT box from the command line right now? Can you run
any exe from the unix box on your NT right now? If yes, then that is how
you do it from perl. If you can't then you need to solve that problem
first before figuring out how to do it from a perl script.
My two cents: I missed the original post, but I suggest you have TWO
subroutines (preferably within a module).
ll2xy (lat/lon to x/y)
and
xy2ll (x/y to lat/lon)
Of course, each one would accept a string of arguments such as projection,
scale, reference lat/longs, map corners, etc, etc.
When
I have done some graduate work in mathematics and you don't quite have
enough information to solve this problem -- even if you can effectively
assume that the world is flat and rectangular in shape. From the way you
describe the problem, I think you are making these assumptions anyway and
in that
Hi Friends,
do anyone of u have he email programs to sent
attachments(more than one) from perl program using Mail::Sendmail module on
linux platform.
Server is qmail server.
Thanks..
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, June 25, 2001 5:36 PM
Subject: Problem with filetest -x _ on Win2k AS Perl build 626
I was running Pod::Find::pod_find to list pod-containing files in
C:/p
I was running Pod::Find::pod_find to list pod-containing files in
C:/perl/bin and I expected to see several .bat files in the list.
But there were none, although several of them contain pod (e.g. pod2html.bat).
I looked into Pod::Find, drilled down into _check_and_extract_name() and
I
20 matches
Mail list logo